--- a/css.rst Mon Feb 22 14:22:04 2016 +0200
+++ b/css.rst Mon Feb 22 15:00:35 2016 +0200
@@ -9,7 +9,7 @@
Adding CSS to HTML.
===================
-Include in head tag::
+Include to CSS file in ``head`` tag::
<html>
<head>
@@ -18,7 +18,7 @@
...
<html>
-or::
+or embed style into ``style`` tag (that tag valid only in ``head`` tag)::
<head>
<style type="text/css">
@@ -26,7 +26,17 @@
</style>
</head>
-To change style in specific tag use::
+HTML 5 standard doesn't require ``type`` attribute, above example may be
+rewritten into::
+
+ <head>
+ <style>
+ h1 {border-width: 1; border: solid; text-align: center}
+ </style>
+ </head>
+
+To change style of specific tag embedding into ``style`` attribute (style syntax
+doesn't use selectors!)::
<b style="color: blue; font-family: ariel">Welcome!</b>
@@ -78,6 +88,10 @@
@import url("common.css");
+Include statment supports media query syntax::
+
+ @import url(print.css) print;
+
Default style for HTML elements.
================================