css.rst
changeset 385 8e648d0fd47f
parent 87 01949ddd2fe5
child 387 29f7ca0049c1
--- a/css.rst	Wed May 05 23:48:22 2010 +0300
+++ b/css.rst	Thu May 06 22:59:51 2010 +0300
@@ -8,3 +8,26 @@
 
   $ sudo apt-get install cssed
 
+* Adding CSS to HTML.
+
+Include in head tag:
+
+  <html>
+    <head>
+        <link href="path-to.css" rel="stylesheet" type="text/css">
+    </head>
+    ...
+  <html>
+
+or
+
+  <head>
+   <style type="text/css">
+     h1 {border-width: 1; border: solid; text-align: center}
+   </style>
+  </head>
+
+To change style in specific tag use:
+
+  <b style="color: blue; font-family: ariel">Welcome!</b>
+