--- title: "Style Guide" teaching: 10 exercises: 0 questions: - "How are keyboard key combinations written?" objectives: - "Explain keyboard key combination." keypoints: - "Keyboard keys need to use `` HTML tag." --- ## Keyboard Key When making reference to a keyboard key that the reader should press the HTML tag `` **must** be used to enclose the key label. For example, "to delete the cell press D" should be write as ~~~ to delete the cell press D ~~~ {: .html} The table below covers most of the keyboard key labels. |-------------------+--------------------------------------------------------------------+--------------------------| | Keyboard key | Style Note | Example | |-------------------+--------------------------------------------------------------------+--------------------------| | Letters | Always capital. | `A` | |-------------------+--------------------------------------------------------------------+--------------------------| | Numbers | | `1` | |-------------------+--------------------------------------------------------------------+--------------------------| | Pontuation mark | | `*` | |-------------------+--------------------------------------------------------------------+--------------------------| | Function | Capital F followed by the number. | `F12` | |-------------------+--------------------------------------------------------------------+--------------------------| | Alt | Only first letter capital. | `Alt` | |-------------------+--------------------------------------------------------------------+--------------------------| | Backspace | Only first letter capital. | `Backspace` | |-------------------+--------------------------------------------------------------------+--------------------------| | Ctrl | Only first letter capital. | `Ctrl` | |-------------------+--------------------------------------------------------------------+--------------------------| | Delete | Only first letter capital. | `Delete` | |-------------------+--------------------------------------------------------------------+--------------------------| | End | Only first letter capital. | `End` | |-------------------+--------------------------------------------------------------------+--------------------------| | Esc | Only first letter capital. | `Esc` | |-------------------+--------------------------------------------------------------------+--------------------------| | Home | Only first letter capital. | `Home` | |-------------------+--------------------------------------------------------------------+--------------------------| | Insert | Only first letter capital. | `Insert` | |-------------------+--------------------------------------------------------------------+--------------------------| | Page Down | Use "PgDn". | `PgDn` | |-------------------+--------------------------------------------------------------------+--------------------------| | Page Up | Use "PgUp". | `PgUp` | |-------------------+--------------------------------------------------------------------+--------------------------| | Print Screen | Use "PtrScr". | `PtrScr` | |-------------------+--------------------------------------------------------------------+--------------------------| | Return | Only first letter capital. We use "Return" instead of "Enter". | `Return` | |-------------------+--------------------------------------------------------------------+--------------------------| | Shift | Only first letter capital. | `Shift` | |-------------------+--------------------------------------------------------------------+--------------------------| | Tab | Only first letter capital. | `Tab` | |-------------------+--------------------------------------------------------------------+--------------------------| | Down arrow | Use Unicode "Downwards arrow" (8595). | `` | |-------------------+--------------------------------------------------------------------+--------------------------| | Left arrow | Use Unicode "Leftwards arrow" (8592). | `` | |-------------------+--------------------------------------------------------------------+--------------------------| | Right arrow | Use Unicode "Rightwards arrow" (8594). | `` | |-------------------+--------------------------------------------------------------------+--------------------------| | Up arrow | Use Unicode "Upwards arrow" (8593). | `` | |-------------------+--------------------------------------------------------------------+--------------------------| ## Keyboard Key Combination When making reference to a keyboard key combination that the reader should press, insert a plus sign **without sapce** between each one of the keys. For example, "press Ctrl+X to quit nano" should be write as ~~~ press Ctrl+X to quit nano. ~~~ {: .html} ## Links Please label links with meaningful texts, in order to [improve accessibility](https://webaccess.berkeley.edu/ask-pecan/click-here). Please avoid `click here` or similar. {% include links.md %}