Rainbow Quill

Posted on 10th 2008 of August

Stylesheet Basics


One of the goals of XHTML is to improve on the structure of HTML documents. And one of these improvements was to separate the data from the layout & design. That is why XHTML has deprecated tags like font, b, i and u. This gave way to the XHTML attribute style where you can use special syntax to provide styles. The format used by the style attribute is actually the one used by Cascading Stylesheets (CSS). Another way of adding styles is by adding a style tag with CSS code inside within the head tag of the XHTML document. But the recommended way is by linking the XHTML document to an external CSS document.

— View Full Tutorial