How to create the arrow symbol in HTML

A reference can be used to add special characters/symbols to an HTML webpage, an entity name, an entity number, or hexadecimal.

There are three methods for adding arrows in HTML:

  • entity number
  • entity name
  • hexadecimal reference
Arrows in HTML

Up arrow

Method Up arrow
entity number &#8593
entity name &uarr
hexadecimal reference &#x2191

Down arrow

Method Down arrow
entity number &#8595
entity name &darr
hexadecimal reference &#x2193

Right arrow

Method Right arrow
entity number &#8594
entity name &rarr
hexadecimal reference &#x2192

Left arrow

Method Left arrow
entity number &#8592
entity name &larr
hexadecimal reference ←

Code

Click here for more information on HTML arrow characters.

Copyright ©2024 Educative, Inc. All rights reserved