Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7896971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:01:59+00:00 2026-06-03T08:01:59+00:00

I have a problem. I have found the HTML code for the downwards arrow,

  • 0

I have a problem. I have found the HTML code for the downwards arrow, ↓ (↓)

Cool. Now I need to use it in CSS like so:

nav a:hover {content:"&darr";}

That obviously won’t work since ↓ is an HTML symbol. There seems to be less info about these “escaped unicode” symbols that are used in css. There are other symbols like \2020 that I found but no arrows. What are the arrow codes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:02:01+00:00Added an answer on June 3, 2026 at 8:02 am

    Why don’t you just save/serve the CSS file as UTF-8?

    nav a:hover:after {
        content: "↓";
    }
    

    If that’s not good enough, and you want to keep it all-ASCII:

    nav a:hover:after {
        content: "\2193";
    }
    

    The general format for a Unicode character inside a string is \000000 to \FFFFFF – a backslash followed by six hexadecimal digits. You can leave out leading 0 digits when the Unicode character is the last character in the string or when you add a space after the Unicode character. See the spec below for full details.


    Relevant part of the CSS2 spec:

    Third, backslash escapes allow authors to refer to characters they cannot easily put in a document. In this case, the backslash is followed by at most six hexadecimal digits (0..9A..F), which stand for the ISO 10646 ([ISO10646]) character with that number, which must not be zero. (It is undefined in CSS 2.1 what happens if a style sheet does contain a character with Unicode codepoint zero.) If a character in the range [0-9a-fA-F] follows the hexadecimal number, the end of the number needs to be made clear. There are two ways to do that:

    1. with a space (or other white space character): “\26 B” (“&B”). In this case, user agents should treat a “CR/LF” pair (U+000D/U+000A) as a single white space character.
    2. by providing exactly 6 hexadecimal digits: “\000026B” (“&B”)

    In fact, these two methods may be combined. Only one white space character is ignored after a hexadecimal escape. Note that this means that a “real” space after the escape sequence must be doubled.

    If the number is outside the range allowed by Unicode (e.g., “\110000” is above the maximum 10FFFF allowed in current Unicode), the UA may replace the escape with the “replacement character” (U+FFFD). If the character is to be displayed, the UA should show a visible symbol, such as a “missing character” glyph (cf. 15.2, point 5).

    • Note: Backslash escapes are always considered to be part of an identifier or a string (i.e., “\7B” is not punctuation, even though “{” is, and “\32” is allowed at the start of a class name, even though “2” is not).
      The identifier “te\st” is exactly the same identifier as “test”.

    Comprehensive list: Unicode Character ‘DOWNWARDS ARROW’ (U+2193).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'am currently working on GWTs Activity-Place implementation. Now I have found problem with the
Hi i have problem with this code, i found it on the internet and
i have a problem using the Catch Clipboard Events code found on this link
i have a little problem, i'm searching, but i can't found what i need,
Ok, I have a problem, my .htaccess code is: RewriteEngine on ErrorDocument 404 /notfound.html
I have a CMS system that allows people to also use HTML code, but
I have a problem. Client side code <html> <body onload=fun()> <script src=C:\cygwin\usr\local\lib\node\.npm\socket.io\0.6.16\package\support\socket.io-client\socket.io.js></script> <script> function
html load coming from NSString. I have the following problem: I get html code
i have problem with libhid . i found that there 2 way 4 accessing
I have problem with text drawing around Circle. I found great sample in C#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.