Trusted answers to developer questions

How to create the arrow symbol in HTML

Get Started With Data Science

Learn the fundamentals of Data Science with this free course. Future-proof your career by adding Data Science skills to your toolkit — or prepare to land a job in AI, Machine Learning, or Data Analysis.

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.

RELATED TAGS

html
arrow
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?