Using an inline css coding
Inline styles are added inline to existing X/HTML tags or used in conjunction with the approved HTML 4.00 span tag. The span tag is a container tag that affects all content on the page between it and the closing span tag. For example, the following syntax would place a yellow highlight behind the words Habitat for Humanity:
Habitat for HumanityYou can use inline style definitions to add style attributes to existing X/HTML tags. The following examples demonstrate this technique:
The advantage of using inline styles is that you can designate a set of attributes with a single tag. This method should be used only for occasional style changes. If you plan to use the same inline style more than once in a page, you should consider defining it as a style element in an embedded style header block so you do not waste time repeating inline instructions.
A inline style attribute added directly within HTML tags.


