-->

How to Insert Arrow Symbols on Your Web Page Turn to Unicode for all kinds of symbols

0

How to Insert Arrow Symbols on Your Web Page

Turn to Unicode for all kinds of symbols


What to Know

  • Insert an HTML5 entity code, decimal code, or hexadecimal code directly into HTML using text-mode or source-mode tool.
  • Code formats: HTML5 = "&Code;" Decimal = "&#Code;" Hexadecimal = "&#XCode;"
  • Type Character Map in the Windows Search bar to identify arrows and their codes in the Character Map.

This article explains how to insert arrows (and other symbols) into a blog post or web page's HTML using the editor or platform of your choice. These keystrokes are based on Unicode, which web browsers recognize and turn into the desired symbols.

How to Make an Arrow for Your Web Page

Illustration showing how to make arrow symbols on web page
Lifewire / Miguel Co

You'll need one of three identifiers: the HTML5 entity code, the decimal code, or the hexadecimal code. Any of the three identifiers produces the same result. In general, entity codes start with an ampersand and end with a semicolon; in the middle is an abbreviation summarizing what the symbol is. Decimal codes follow the format Ampersand+Hashtag+Numeric code+Semicolon, and hexadecimal codes insert the letter X between the hashtag and the numbers.

For example, to produce a left-arrow symbol (←), type any of the following combinations:

  • HTML:
  • Decimal:
  • Hexadecimal:

Most Unicode symbols do not offer entity codes, so they must be assigned using the decimal or hexadecimal code instead.

You must insert these codes directly into the HTML using a text-mode or source-mode edit tool. Adding the symbols to a visual editor might not work, and pasting the Unicode character you want into a visual editor might not result in your intended effect. For example, when writing a blog post using WordPress, switch to Code Editor mode instead of Visual Editor mode to insert a special symbol.

Preview to show hex right arrow to add to your page

Common Arrow Symbols

Unicode supports dozens of types and styles of arrows. Look at the Character Map on your computer to identify specific styles of arrows.

To open the Character Map, select Start > All Programs > Accessories > System Tools > Character Map (or select Windows and enter character map in the search box).

When you highlight a symbol, you'll see a description of the symbol at the bottom of the Character Map application window in the form of U+nnnn, where the numbers represent the decimal code for the symbol.

Microsoft Windows character map

Note that not all Windows fonts display all forms of the Unicode symbols, so if you can't find what you want even after changing fonts inside of Character Map, consider alternate sources, including the summary pages for W3Schools.

Selected UTF-8 arrow symbols
CharacterDecimalHexadecimalEntityStandardized Name
85922190left arrow
85932191up arrow
85942192right arrow
85952194down arrow
85972195 up down arrow
863521BB clockwise open-circle arrow
864821C8 up paired arrows
870221FE right open-headed arrow
869421F6 three right arrows
867821E6 left white arrow
867321E1 up dashed arrow
866921DD right squiggle arrow

Considerations

Microsoft EdgeInternet Explorer 11, and Firefox 35 and newer browsers have no difficulty displaying the full range of Unicode characters in the UTF-8 standard. Google Chrome, however, intermittently misses some characters if they're presented solely using the HTML5 entity code.

The UTF-8 standard includes characters beyond arrows, too. For example, UTF-8 supports characters including:

  • Currency symbols
  • Letter-like symbols that aren't letters
  • Mathematical operators
  • Geometric shapes
  • Box-like shapes
  • Dingbats
  • Diacritical marks
  • Greek, Coptic, and Cyrillic characters

UTF-8 serves as the default encoding for almost 90 percent of all web pages as of November 2018, according to Google.

The procedure for inserting these additional symbols is exactly the same as it is for arrows.

Tags

Post a Comment

0Comments

123

Post a Comment (0)