HTML tags can have properties.
The attributes listed here are the core and language attributes (with individual exceptions) that are common to each label.
We provide detailed information about the special properties of each label in the HTML 4.01/xhtml 1.0 Reference manual .
Core attributes (Cores Attributes)
The following tags do not provide the following properties: Base, head, HTML, meta, param, script, style, and title element.
Properties |
value |
Description |
Class |
Class_rule or Style_rule |
The class of the element |
Id |
Id_name |
The specific ID of the element |
Style |
Style definition |
inline style definition |
Title |
Hint text |
Text displayed in the prompt tool |
Language attributes (Language Attributes)
The following tags do not provide the following properties: Base, BR, Frame, frameset, HR, IFRAME, param, and script element.
Properties |
value |
Description |
Dir |
Ltr | Rtl |
Set the orientation of text |
Lang |
Language code |
Set the language code |
Keyboard properties (Keyboard Attributes)
Properties |
value |
Description |
AccessKey |
Character |
Set keyboard shortcuts to access an element |
TabIndex |
Number |
Set the Tab order of an element |