O'Reilly logo

HTML Pocket Reference, Second Edition by Jennifer Niederst Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required