<kbd>
User input — keystrokes, voice commands, menu selections.
Baseline: Widely available · Inline text semantics
When to use it
Nest one kbd per physical key inside an outer kbd for the whole chord: Ctrl+S becomes three elements.
When not to
Not for code fragments — kbd is what the user does, code is what the program is.
Example
Save with Ctrl+S.
<p>Save with <kbd><kbd>Ctrl</kbd>+<kbd>S</kbd></kbd>.</p>