- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Include keyboard text in HTML
Use the <kbd> tag in HTML to display keyboard text. The HTML <kbd> tag defines keyboard input. It is a phrase tag.
Example
You can try to run the following code to implement <kbd> 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>
Advertisements