Home | HTML Tutorials | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Syntax | <KBD>...</KBD> |
---|---|
Attribute Specifications | |
Contents | Inline elements |
Contained in | Inline elements, block-level elements |
The KBD element denotes text to be entered by the user. Visual browsers typically render KBD as monospaced text, but authors can suggest a rendering using style sheets. Since KBD is a structural element, it carries meaning, making it preferable to font style elements such as TT when marking up text to be entered by the user.
Example:
<P>If the question does not apply to you, enter <KBD>N/A</KBD>.
Home | HTML Tutorials | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |