Special characters such as html, css, and css
Usage:
These characters belong to the unicode Character Set, so your document needs to be declared as a UTF-8;
There are two column numbers behind the symbol list below. They are not the same. The first column is for html. You need to add the & # symbol before it;
The second column can be used in CSS files, but it needs to be escaped by backslash;
The second column can also be used in javascript, which is the same as CSS, but must be escaped using \ u.
The idea is:
Some characters are not the same in different browsers. For example, snowman is not the same in firefox and Chrome, and diamond is a little bigger in IE than Chrome;
Some characters are not displayed in a browser. Of course, they are not caused by character code, but by browser bugs, such as-in Chrome...
However, 98% characters can be normally displayed in all browsers, but if you really want to use it, it is best to carefully verify it in each browser.
It is tested that these characters are poorly recognized on Android/iOS and other smart terminals. Therefore, pay special attention to mobile browsers ~~
Only the code is written by myself.