In this illustration, We will inform you about the <kbd> tag in html5. The <kbd> tag is used for specifying the user input and (keyboard text) in the html document. This tag must have opening and closing <kbd> tags.
The syntax for <kbd> tag is as:
|<kbd>Your Text Here</kbd>|
This tag have no specific attribute.
<title>Example of kbd Tag</title>
<body>The normal text here.<br>
<kbd>This is the keyboard text.</kbd>
Difference between HTML5 and HTML4.
The attribute likes align, border, vspace, hspace are not supported by html5.
Posted on: September 10, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles