Welcome to HTML5-Tutorials

Our site offers a lot of HTML5 learning from absolutely beginning to advanced level.If you want to make a website with HTML,this site will completely guide you a lot.So learn HTML5 syntax and form of coding easily with this website.If you have any doubt,leave a message on us.We will return you so soon.This site includes innumerable number of references you need to do after studying their corresponding elements.

In this page,we will learn about HTML <kbd> tag.

Use of <kbd> tag

The <kbd> tag is used to define a users input or sometimes voice command.
The texts within the <kbd> and </kbd> will be in the monospace font-family.


Example of <kbd> tag

    <kbd> Ctrl + z </kbd>

Supported Browsers.

<kbd> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<p> To Undo last action,press <kbd> Ctrl + z </kbd> <br> <!--Right Form-->
To Undo last action,press Ctrl + z. </p> <!--Custom Form-->


To Undo last action,press Ctrl + z
To Undo last action,press Ctrl + z.

More Reference

<kbd> tag is a phrase tag.

Default CSS Properties of <kbd> tag

kbd {
font-family: monospace;

Some related phrase tag of <kbd> tag

Tag Notes
<code> It defines computer code.
<em> It defines emphasized texts.
<samp> It defines an output from a system.
<strong> It defines strong texts.
<var> It defines a variable.