HTML Basics | standard | Basic Tutorials
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 labels do not provide the following properties: 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 |
The text displayed in the Hint tool. |
Language properties (Language Attributes)
The following labels do not provide the following properties: Base, BR, Frame, frameset, HR, IFRAME, param, and script elements.
Property |
value |
Description |
Dir |
Ltr | Rtl |
Sets the orientation of the text. |
Lang |
Language code |
Sets the language code. |
Keyboard properties (keyboard Attributes)
Property |
value |
Description |
AccessKey |
Character |
Sets the keyboard shortcuts for accessing an element. |
TabIndex |
Number |
Sets the tab order for an element. |