Home >Web Front-end >HTML Tutorial >Include keyboard text in HTML

Include keyboard text in HTML

WBOY
WBOYforward
2023-09-21 13:09:081282browse

Include keyboard text in HTML

Use the tag in HTML to display keyboard text. HTML tag defines keyboard input. This is a phrase tag.

Example

You can try running the following code to achieve the tag -

<!DOCTYPE html>
<html>
   <head>
      <title>HTML kbd Tag</title>
   </head>
   <body>
      <p>Open previously closed tab using
         <kbd>Ctrl</kbd>+
         <kbd>Shift</kbd>+
         <kbd>T</kbd>
   </body>
</html>

The above is the detailed content of Include keyboard text in HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete