
Opening tag : <KBD>
Closing tag: </KBD>
Purpose:
The Keyboard tag is intended to indicate text that should input by the user using the keyboard. The text normally appears in a fixed width font. The use is limited, but it can be useful when producing documentation or instructions.
Attributes:
Class=class
- Indicates a style class to use.
Dir=direction
- Useful for languages where the text is read from right to left.
Event=Javascript
- Specifies a Javascript to run on an event occurrence
ID=Name
- Specifying an ID makes the tag uniquely identifiable.
Lang=language
- Specifies the language used inside the tag.
style=style
- Selects an overriding style for the text.
Title=title
- You can even add a title to this tag.
Example:
Type <KBD>Http://www.webguruguide.com</KBD> into your browser window.
Related Tags:
-
Back to:
Alphabetical Guide
Guide By Type