开发者

β 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜