Attribute of <KBD> Tag
Attribute of <KBD> Tag
CLASS
Indicates which style class applies to the <KBD> element.
Example:Now press the <KBD CLASS="dkm">F4
</KBD> key!
Possible Values
Any Class Name.
ID
Assigns a unique ID selector to an instance of the <KBD> tag. When you then assign a style to that ID selector, it affects only that one instance of the <KBD> tag.
Example:Press <KBD ID="dkm">F1</KBD> for help.
Possible Values
Any ID Name.
STYLE
Specifies Style Sheet commands that apply to the text within the <KBD> tags.
Example:<KBD STYLE="background: red">F10</KBD>
Possible Values
CSS Property with Value.
TITLE
Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the keyboard text.
Example:Now press the <KBD
TITLE="Keyboard stuff">F4</KBD> key.
Possible Values
Any text Message.