Mi web de consulta de xhtml, CS, js, etc:
http://www.w3schols.com/. Y como incluir código CS en un html.
http://www.w3schols.com/html/html_styles.asp.
how todo use styles.
When a browser reads a style sheet, it Will format the document according todo it. There are thre ways of replaceing a style sheet:
external style sheet
An external style sheet is ideal when the style is applied todo Many pages. With an external style sheet, you can change the look of an entire web site by changing one file. Each page must enlace todo the style sheet using the <link> tag. The <link> tag goes inside the head section.
Código:
head>
link reel=styleshet type=text/css.
Href=mystyle, css>
/head>
Internal style sheet
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section with the <style> tag.
Código:
head>
style type=text/css>
Body {background-color: red}
P {Margin-left: 20px}
/style>
/head>