β sign - HTML version?
What is HTML representation (like e.g.
) o开发者_运维问答f β sign?
You could specify it as β
, but a simple β
is much more readable. It just requires that you get your character encodings straight.
You write β
as described here.
β
http://www.w3schools.com/tags/ref_symbols.asp
The following should work:
Hex:
β
Dec:
β
UTF-8:
β
Taken from here.
Typing this in your location bar (tested on Firefox):
javascript:alert('&#' + 'β'.charCodeAt(0) + ';');
gives
β
Next time you want to know what HTML code it is for a character, use this.
精彩评论