kbd Tag

Certify and Increase Opportunity.
Be
Govt. Certified HTML5 Developer

It is used to indicate the keyboard keys on a web page like instruction for keys to press for accessing a feature. Text placed between its opening and closing tags is shown in monospaced font as shown

HTML code

<p>Press <kbd>alt</kbd> and <kbd>F4</kbd> to close window.</p>

Browser output

The kbd Tag

Get industry recognized certification – Contact us

Menu