kbd Element

Description

kbd Element denotes user input.

kbd has the following style { font-family: monospace; }.

Example

The following code shows how to use kbd Element.


<!DOCTYPE HTML>
<html>
<body>
  This is an <kbd>input</kbd>.
</body><!--   w ww .  ja v  a2 s.  c  om-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed