Part 5
Formatting with CSS
Early forms of HTML paid very little attention to the visual aspects of page layout. The original plan was for HTML to be more tied to the meaning of page elements rather than their display. In the very early days of the Web, this was fine, but soon people wanted far more sophisticated design elements than HTML was capable of producing. Browser manufacturers responded by adding vendor-specific tags that added new capabilities but greatly complicated development efforts.
HTML5 is an attempt to return HTML to its earlier simplicity. All the tags that were once used to directly manage the appearance of the page (tags like <font>
, <center>
, <b>
, and <i>
) are removed. Rather than having special tags indicate formatting, a new language has been devised that can provide very powerful formatting features to virtually any HTML/XHTML tag. CSS (Cascading Style Sheets) is this language.
In this part . . .
Getting an Overview of CSS
Controlling the Look of Your Page
Utilizing Float Positioning