In brief
HTML kbd identifies user input, usually from a keyboard. It suits a key name or shortcut in instructions.
Useful to know
HTML kbd identifies user input, usually from a keyboard. It suits a key name or shortcut in instructions. [1]
This differs from output displayed by a program. In a guide, separate input from the expected response and check the shortcut against the stated operating system. A visual keycap border is added separately with CSS.
Sources
For further detail and to check the information: