Inline XHTML Styles
As I stated in Stylesheet Basics ⇒, another way to add styles is by using the style attribute of most XHTML tags or by adding a style tag on the XHTML’s head tag.
These approaches invalidate one of the goals of XHTML and CSS; which is to separate the data from the design that is why I discourage to use these methods. But sometimes, when handling complicated layouts and doing advanced javascripting on your XHTML page, you might need to use the style attribute to override the styles defined in your CSS or the style tag.

