Alphabetical Tag List

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 book as they are in the specification as follows.

%coreattrs indicates the collection of core HTML attributes according to the HTML 4.01 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) and includes attributes related to making documents and elements accessible in all languages:

lang

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

dir

Specifies the direction of the element; values are ltr (left to right) or rtl (right to left)

%events indicates the core events (as defined in the HTML 4.01 Document Type Definition) used by scripting languages which are applicable to the element:

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

Get HTML Pocket Reference, Second 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.