xhtml| Standard | beginners | tutorial
HTML tags have attributes. The special properties of each label are listed under each label description. The attributes listed here are the core and language attributes that are common to each label (with individual exceptions):
Key attributes (Core Attributes)
The following tags do not provide the following attributes: Base, head, HTML, meta, param, script, style, and title elements.
Property |
value |
Description |
Class |
Class_rule or Style_rule |
The class of the element |
Id |
Id_name |
A specific ID of the element |
Style |
Style definition |
inline style definition |
Title |
Hint text |
Text displayed in the Hint tool |
Language properties (Language Attributes)
The following tags do not provide the following properties: Base, BR, Frame, frameset, HR, IFRAME, param, and script elements.
Property |
value |
Description |
Dir |
Ltr | Rtl |
Set the orientation of the text |
Lang |
Language code |
Set Language code |
Keyboard properties (keyboard Attributes)
Property |
value |
Description |
AccessKey |
Character |
Set keyboard shortcuts for accessing an element |
TabIndex |
Number |
Set the tab order for an element |