-4

In HTML, greater than is rendered by code: >, what is the code for the same symbol but pointing upwards and downwards?

Biffen
  • 6,249
  • 6
  • 28
  • 36
one-hand-octopus
  • 2,229
  • 1
  • 17
  • 51
  • 2
    Usually people use `v` and `^`, no special code needed – Gilsido Aug 06 '19 at 10:07
  • You can point downward with `v` (the letter) and upward with `^`. That's not some HTML special character and no need to escape – Cid Aug 06 '19 at 10:08
  • 1
    Possible duplicate of [HTML character codes for this ▲ or this ▼](https://stackoverflow.com/questions/6041209/html-character-codes-for-this-or-this) – soorapadman Aug 06 '19 at 10:08
  • https://www.fileformat.info/info/unicode/char/2303/index.htm – Paulie_D Aug 06 '19 at 10:08
  • I know that using ```v``` and ```^``` could possibly do, but still they are different from ```>``` in terms of the shape – one-hand-octopus Aug 06 '19 at 10:11
  • I don't understand why my question is marked as duplicated, I'm asking for ```>```, the existing question answers for ```▶```, it does not answer my question. – one-hand-octopus Aug 06 '19 at 10:17
  • 2
    Have your pick: Latin capital letter v: V; Canadian syllabics pe: ᐯ; N-ary logical or: ⋁; Mathematical sans-serif italic capital v: ; Tifinagh letter yadh: ⴸ; Latin small letter v: v; Mathematical sans-serif capital v: ; Cyrillic capital letter izhitsa: Ѵ; Mathematical sans-serif italic small v: ; Roman numeral five: Ⅴ; Modifier letter capital v: ⱽ; Latin subscript small letter v: ᵥ; Greek vocal notation symbol-14: ; Countersink: ⌵; Mathematical italic capital v: ; Mathematical sans-serif small v: ; Cyrillic small letter izhitsa: ѵ; Mathematical monospace capital v: ;… – Biffen Aug 06 '19 at 10:52
  • 1
    … Small roman numeral five: ⅴ; Modifier letter small v: ᵛ; Cherokee letter do: Ꮩ; Latin letter small capital v: ᴠ; Cyrillic capital letter u: У; Mathematical monospace small v: ; Mathematical sans-serif bold italic capital v: ; Mathematical double-struck capital v: ; Syriac letter sogdian zhain: ݍ; and possibly more. – Biffen Aug 06 '19 at 10:52
  • possible duplicate of: https://stackoverflow.com/questions/338667/is-there-an-upside-down-caret-character – John Gilmer Jul 19 '23 at 19:32

1 Answers1

1

There isn't one per se.

Greater Than and Less Than are mathematical symbols and there is no mathematical term expressed by either of them rotated.

The letter v and caret symbol (^) are vaguely similar, but in many fonts are significant differences.

You could use > and then rotate it with CSS … but the semantics would be weird and it would be very unfriendly to screen reader users (as would using > as an arrow in the first place).

span {
    display: inline-block;
    transform: rotate(90deg);
}
<span> > </span>

It would be better to use a real arrow instead as Unicode includes multiple sets of arrows pointing in 4 directions which match each other in style.

←↑→↓

You could also use images (this is a good use of SVGs).

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335