copyright © CSSPG, lud February 28 1999


 for practical use of CSS

Linking CSS: Inline

this document is located at...
<URI:http://css.nu/examples/inline.html>

* Inline CSS *

Inline CSS are individual declarations to suggest style, or to alter style established by the default external style sheet.

An example of the use of inline style could include a change in font color to suggest a level of importance to the HTML markup. This example suggests a red background, as a warning.

Warning! Do not try this at home.

The text is marked up as: <P><SPAN STYLE="background: red; color: black">Warning!</SPAN> Do not try this at home.</P>


CSS Pointers Navigation
Index · Browser Bugs · Books · Tools · DHTML · XSL & DSSSL
Main Site Navigation
Index · Articles · Examples · Experiments · FAQ · Markup · Styles · Who is?
CSSPG ~ Sue ~ Roland
Validate markup Check CSS