As part of an edit, I'm adding <kbd>
tags to various user keystrokes mentioned in a question. I can't figure out the proper way to handle arrow keys.
Left arrow?
<-?
Left?
All the options I can think of seem bad.
After searching, I found the arrows you want. Copy-paste each time the appropriate:
<kbd>↑</kbd>
<kbd>↓</kbd>
<kbd>→</kbd>
<kbd>←</kbd>
Output:
↑ ↓ → ←
The arrows can be found in chat or in Wikipedia.
<kbd>←</kbd>
etc.
The HTML entity codes for directional arrows are pretty intuitive:
Direction | HTML Entity Code | Shorthand HMTL Entity Code | Result |
---|---|---|---|
Up | ↑ |
↑ |
↑ |
Down | ↓ |
↓ |
↓ |
Left | ← |
← |
← |
Right | → |
→ |
→ |
Since this is meta, and people might get scolded and referred to this question in the future if they type Left instead of ←, I'd like to propose that Left is just as valid and understandable as ←, and I currently see it being used frequently.
Personally, I prefer the clarity of reading the word Left instead of the standard arrow symbol with its narrow head. The added convenience of not having to copy/memorize the arrow symbols when typing makes a big difference when writing as well (not that ←
is all that hard to memorize). Being inside a <kbd>
is more than enough context to indicate that you're referring to the left arrow.
<kbd>Left Ctrl</kbd>
, or <kbd>Left ^</kbd>
, it's clear to me that it's referring to the left arrow. But again, I don't have any exposure to documentation where <kbd>Left</kbd>
could be ambiguous.
On Windows 10, you can use Alt+NumPad codes for this: Alt+24
for ↑
, Alt+25
for ↓
, Alt+26
for →
, and Alt+27
for ←
.
Beware of "Unicode arrows" sites: some of the arrows they feature won't display properly on some mobile devices (some didn't on my 2017 Samsung phone), and probably won't on older systems either.
The above ones work 100% of the time AFAIK.
This looks close
▲
◄▼►
For copy/pasting:
<kbd>▲</kbd>
<kbd>◄</kbd>
<kbd>▼</kbd>
<kbd>►</kbd>
<kbd>
. You can copy the text for them, for example ▼, and then just use <kbd>▼</kbd>
→
and←
?AltGr
+Shift
+U
=↑
;AltGr
+I
=→
;AltGr
+U
=↓
;AltGr
+Y
=←
, although it probably only works on some keyboard layouts, like on the German one, but withAltGr
+Z
=←
instead.