HTML / XHTML Tags
DTD (Document Type Definition) indicates in which HTML 4.01 / XHTML 1.0 type (S = Strict; T=Transitional) the tag is allowed.
This is an abridged list of tags; a complete list can be found at www.w3schools.com/tags/default.asp.
‘Deprecated’ means that the tag is still allowed, for now, to take care of older websites, but is likely to be withdrawn in the future and should not be used for new websites.
Tag | Description | DTD |
<!--...--> | Defines a comment | ST |
<!DOCTYPE> | Defines the document type | ST |
<a> | Defines an anchor | ST |
<b> | Defines bold text | ST |
<blockquote> | Defines a long quotation | ST |
<body> | Defines a document’s body | ST |
<br /> | Defines a single line break | ST |
<caption> | Defines a table caption | ST |
<center> | Deprecated. Defines centred ... |
Get How to Design Websites 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.