Monday, November 8, 2004

Examples Of Highlighted Hair

CSS and basic HTML tags in XHTML


What the CSS

The HTML used to structure the text into sections, paragraphs, links, headers, quotes, pictures, etc..

With CSS we apply a style: the headers are in red and underlined, the images are 2 cm. margin and a border of 1 pixel spacing is 1.5, and the first row of each table has a blue background. The CSS used to style all elements of the same type at once.


How can be combined with HTML
Typically write the CSS code in an external file, css

extension, and then include in the
\u0026lt;head>
of each page the code:
\u0026lt;link rel = "stylesheet" href = "archivo.css" type = "text / css">
This allows using the same style for several different HTML pages. In addition, well you get the design to another file, so that browsers do not support style sheets will not have to load unnecessary code.

If you prefer to leave the CSS code on the same page (without using external files), is made from within the \u0026lt;head>

labeled \u0026lt;style> :

\u0026lt;style type = "text / css ">
/ * CSS goes here * /
\u0026lt;/ style>
can also define a style for a single item, writing the code in your style attribute

, although not recommended because it complicates the code.


Ways to learn CSS
Look at the source code of the pages that you like. See
W3C CSS specification. Sites where learning
CSS: MINIDOAS - CSS
Toad - XHTML and CSS

CSS Zen Garden CSS

Chameleon



Making good websites

0 comments:

Post a Comment