When you first started learning Web standards, there was this one:
Encode all < and & special symbols:
Any less than (<), which is not part of the label, must be encoded as & L T; Any greater-than sign (>), which is not part of the label, must be encoded as & G T;
Any number (&), which is not part of the entity, must be encoded as & a M p;
Note: There are no spaces between the above characters.
This is often the case in our usual jobs:
More >>
Domestic counterparts are mostly to write two greater than >> or simply write >> (more exaggerated is someone in order to pursue and the effect of the full consistency of the effect of the use of the song body here alone), more reasonable wording as follows:
More
\00BB
-right Double angle quote, Unicode = »
(»)
Since IE6/7 does not support after pseudo classes, it is also good to step back:
More »
Display effect:
More
The best example is the path at the bottom left corner of the WordPress editor:
And the breadcrumbs are often written as the greater than the number is not < but should be › according to WordPress backstage title:
‹ 99CSS -wordpress
The display effect is as follows:
Add a new article ‹99css-wordpress
Change ‹ 's L to R is right.
Another saw Aoao Wating on Twitter to discuss the space, Yiwen flew , said:
Test found space or \u0020 to indicate compatibility and semantics best
I am not very agree with, my view is: Use in HTML, and the use of \20 in CSS is more reasonable approach: p
Extended Reading
- Using HTML Symbol entities Chinese translation: using HTML character entities
- Character Entity Reference HTML 4
- character references and whitespace characters