Professional CSS: Cascading Style Sheets for Web Design, Second Edition
by Christopher Schmitt, Todd Dominey, Cindy Li, Ethan Marcotte, Dunstan Orchard, Mark Trammell
Appendix A. HTML 4.01 Elements
Before you design with CSS, the content in a Web document must be marked up with HTML elements. To efficiently make use of CSS, those HTML elements must be used properly by placing the correct HTML element around the appropriate content.
The following table provides a listing of all the HTML elements in the 4.01 specification provided by the World Wide Web Consortium (W3C), the governing body that determines Web-related standards. The far-left column shows the name of the element. The next column indicates whether the element has a start tag. The next three columns describe the element in more detail. If the column has an "O," it means the part of the element is optional. "F" means forbidden, "E" means empty, and "D" means deprecated. The DTD column provides information on which Document Type Definition an element belongs in. If the element is found only in one kind of DTD, the key will either be "L" for Loose DTD or "F" for Frameset DTD. The final column provides a text description of the element.
Name | Start Tag | End Tag | Empty | Deprecated | DTD | Description |
|---|---|---|---|---|---|---|
| Anchor | |||||
| Abbreviated form (for example, WWW, HTTP, and so on) | |||||
| Indicates an acronym | |||||
| Information on author | |||||
| D | L | Java applet | |||
| F | E | Client-side image map area | |||
| Bold text style | |||||
| F | E | Document base URI | |||
| F | E | D | L | Base font size | |
| I18N BiDi override | |||||
| Large text style | |||||
| Long quotation | |||||
| O | O | Document body | |||
| F | E | Forced line break | |||
| Push button ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access