
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <ISINDEX>
| Next Tag: <LABEL>
|
<KBD>
Indicates text that the user should enter using the keyboard.
Support:
-
Notes:
- When providing instructions to the user, use this tag to format text that the user should type in.
- Most browser format this text in a monospace font.
- This tag requires the </KBD> end tag.
Attributes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
To get to my home page type <KBD>mcfedries.com</KBD>
in the Address bar and press <KBD>Enter</KBD>.
How It Looks:
- To get to my home page type mcfedries.com in the Address bar and press Enter.
| Index
| Previous Tag: <ISINDEX>
| Next Tag: <LABEL>
|
|