INLINE STYLE SHEET
Inline
Styles
An inline style loses many of the advantages
of style sheets by mixing content with presentation. Use this method sparingly,
such as when a style is to be applied to a single occurrence of an element. To
use inline styles you use the style attribute in the relevant tag. The style
attribute can contain any CSS property. The example shows how to change the
color and the left margin of a paragraph:
<p style="color: sienna;
margin-left: 20px"> This is a paragraph </p>
Comments