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>