Site icon Tutorial

kbd tag

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

Apply for HTML Certification

https://www.vskills.in/certification/certified-html-designer

Back to Tutorials

Exit mobile version