i tag
abbr tag
acronym tag
dfn tag
pre tag
q tag
samp tag
var tag
TAG: kbd
<kbd> ... </kbd>
The
kbd
tag is used to signify that the indicated text is to be typed by the user on the keyboard. For example, this can be used in training manuals.
The exact appearance will be browser dependent. However, most browsers render the indicated text in a mono spaced font.
Usually, the display font appearance for the
code
,
kbd
,
samp
, and
tt
tags is the same.
The separate closing tag is mandatory.
Attributes and Events
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML kbd Tag Example</title>
</head>
<body>
Please type <
kbd
>Request.Write strVar<
/kbd
> in the third window.
</body>
</html>
Output:
Please type
Request.Write strVar
in the third window.
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information