html tutorial - <kbd> Keyboard Input Tag in HTML - html5 - html code - html form




kbd tag

Learn html - html tutorial - kbd tag - html examples - html programs

  • <kbd> tag is defined as the Keyboard input of the HTML elements.
  • <Kbd> tag is a Phrase tag.
  • <kbd> tag produces the inline element and represents the user input for displaying the monospace font in browsers.
  • <kbd> supports Global and Event attributes.
  • <kbd> tag belongs to Flow content, Palpable content and Phrasing content category.

Syntax for <kbd> tag in HTML:

<kbd>content</kbd>

Sample Coding for <kbd> tag in HTML:

Tryit<!DOCTYPE html>
<html >
    <head>
        <title>Wikitechy kbd tag</title>
    </head>
    <body>
        <p>Press<kbd>Ctrl+N</kbd>to open New Document</p> 
    </body>
</html>

Code Explanation for <kbd> tag in HTML:

Keyboard Input <kbd> Tag Code Explanation

  1. <kbd> tag used to highlight the keyboard input.

Output for <kbd> tag in HTML:

Keyboard Input <kbd> Tag Output

  1. The output shows the keyboard input “Ctrl+N” in monospace font.

Browser Support for <kbd> tag in HTML:

Yes Yes Yes Yes Yes

Related Searches to <kbd> tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×