The Default Display of (X)HTML

Every Web browser has a default system for displaying each kind of (X)HTML element. While the system may vary from browser to browser, they all maintain the basic structure that you set forth in the Web page.

So, for example, a level one header (h1) will always be set larger than a level two header (h2), which will always be larger than a level three header (h3). Similarly, an em element will always be set off from the surrounding text in order to emphasize it.

That doesn’t mean that the h1 element will always be in say, 24pt Times, or that emphasis will always be achieved with italics. While the default display systems are very similar on all personal computer-based browsers—including Explorer, Firefox, and Opera ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide 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.