What Are Style Sheets?

Two forces compete in Web page authoring: content and presentation. When HTML was first released, the tags were largely focused on content, and they descriptively defined the various parts of a document: a heading, a paragraph, a list, and so on. Over time, instructions were added to help with presentation issues at the font level. These instructions included tags for boldface, italic, and typewriter styles.

Then, as graphical browsers became standard equipment, a greatly increased focus on presentation began. In particular, Netscape introduced proprietary extensions to HTML that only its browser could render properly. These extensions generally produced attractive effects on pages, and users began using Netscape en masse. ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.