How do you do a straight line on a keyboard?
Press and hold the “Shift” key, then press and hold the hyphen “-” key, located two keys to the left of “Backspace” on a PC or “Delete” on a Mac. This creates a solid, horizontal straight line.
Where is the straight line key on keyboard?
You can type a straight vertical line, or “|,” on most modern keyboards dating back to some of the 1980s IBM PCs. It’s generally found above the backslash, so you can type a “|” by holding down the shift key and hitting the “” key.