KBD Tag Description:
The KBD tag defines text that should be entered by a user — as in a keyboard. Most browsers display this text in a monospaced font.
The KBD tag is a semantic tag that gives the enclosed text a specific meaning for the computer. These types of tags are used more for style and to markup your text more meaningfully than for layout or design.
KBD Tag Web Browser Support:
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
- WebTV/MSN TV
HTML Versions
KBD Tag Attributes:
KBD Tag End Tag:
Contents:
CDATA Usually text. The following tags are valid within the KBD tag:
a,
abbr,
acronym,
applet,
b,
basefont,
bdo,
big,
br,
button,
cite,
code,
dfn,
em,
font,
i,
iframe,
img,
input,
kbd,
label,
map,
object,
q,
s,
samp,
script,
select,
small,
span,
strike,
strong,
sub,
sup,
tt,
u,
var
KBD Tag Valid Context:
The KBD tag is valid within the following tags:
a,
abbr,
acronym,
address,
applet,
b,
bdo,
big,
blockquote,
body,
button,
caption,
center,
cite,
code,
dd,
del,
dfn,
div,
dt,
em,
fieldset,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
i,
iframe,
ins,
kbd,
label,
legend,
li,
noframes,
noscript,
object,
p,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
td,
th,
tt,
u,
var
KBD Tag Usage:
standard keyboard text
Type in the following: <kbd>C:\BAT.EXE</kbd>
KBD Tag Special Notes:
- The KBD tag is usually used in instructions text.
- Most browsers render the KBD tag in a monospaced font. If you need your text to be monospaced (like a typewriter), use the TT tag or the font-family style property.

