DAISY—Structure Guidelines: Elements, Block Elements, Information Object Keyboard Input
Information Object
Keyboard Input
Definition
Information that the reader of the book needs to input directly into a computer using the keyboard.
Markup
Content that is to be entered into a computer via a keyboard is to be marked with the <kbd> tag. This tag can be used in either block or inline settings. See also Information Object: Computer Code and Information Object: Sample.
Playback devices can be configured so that text tagged as <kbd> will preserve all white space (line breaks, indentation, etc.).
Syntax
<kbd>…</kbd>
Example
<p>To add a filename parameter to the DIR command, you can type the following text.</p>
<kbd>DIR C: MYFILE.TXT</kbd>
<p>In symbolic notation, MYFILE.TXT would be shown as filename.ext.</p>