The Three Flavors of HTML

To help in the transition from the era of using HTML tags that have evolved in an ad-hoc fashion to control the appearance of Web pages to a new era in which the appearance of Web pages will be controlled entirely by the use of styles sheets, the W3C has formulated three different flavors of HTML 4: strict, transitional, and frameset. These are defined in the form of three separate DTDs (Document Type Definitions). A DTD is the formal definition of a specification by the W3C. Thankfully, the W3C also provides less formal and more easily comprehended explanations in the form of the official specifications, meaning that you don't have to know how to read the DTD (no easy task in itself) in order to understand the specification. ...

Get Cascading Style Sheets (CSS) by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.