Hex codes for common HTML elements

Posted . Visible to the public.

When adding HTML elements in content via CSS, you need to add the hexademical code instead of the HTML code. I'll list new ones as I need them.

(») » = "\00BB"
( )   = "\00A0"

The actual hex would be %BB, %A0, etc. But when putting that in CSS you use \00 instead of %. Example:

a:after{
  content:"\00A0\00BB";
}

This produces " »" after the link.

Long list of HTML and hexadecimal character codes Show archive.org snapshot

Last edit
Posted by irk to irk's deck (2013-04-11 20:54)