The <kbd>
element in HTML can be used to display keyboard input.
The text enclosed within <kbd>
and </kbd>
is displayed in the browser’s default monospace font.
Use this tag to display “Ctrl+C” in the following way: Ctrl+C
The <kbd>
tag supports
The
<kbd>
element can also be styled using CSS.
The following example shows how the <kbd>
tag is used.
Free Resources