Appendix A. HTML Elements

This appendix contains the master list of HTML tags that appear in this book. It includes all tags and attributes listed in the HTML 4.01 specification plus those that are browser-specific and nonstandard (but well-supported).

A number of attributes in the HTML 4.01 specification are shared by nearly all elements. To save space, they have been abbreviated in this appendix as they are in the specification, as follows:

%coreattrs indicates the collection of core HTML attributes according to the 4.0 specification:

id

Assigns a unique identifying name to the element

class

Assigns a classification name to the element

style

Associated style information

title

Advisory title/amplification

%i18n stands for “internationalization” (i + 18 characters + n):

lang

specifies the language for the element by its two-character language code

dir

specifies the direction of the element (left to right, or right to left)

%events indicates the events used by scripting languages which are applicable to the element:

onlick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, 
onmouseout, onkeypress, onkeydown, onkeyup

Tag

Description

Attributes

Chapter

<a>

Anchor (link)

accesskey, charset, coords, href, hreflang, name, rel, rev, shape, tabindex, target, type, %coreattrs, %i18n, %events

Events: onfocus, onblur

11

<abbr>

Abbreviation

%coreattrs, %i18n, %events

10

<acronym>

Acronym

%coreattrs, %i18n, %events

10

<address>

Information ...

Get Web Design in a Nutshell, 2nd Edition 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.