Are HTML encoded special characters required to end in a semicolon? -


is considered the right encoding for & amp; # 8212; , although the semi-colon is left to it still displays properly in my bowers (Chrome and Firefox).

In addition, I am using several email clients to test character encoding. It has been learned that almost all the semicolons are ignored when displaying special characters with the exception of Gmail (IE, Chrome and Firefox).

So my question: are the HTML special encodings encoded to end in semicolon? It seems like Gmail is playing by the rules, while everyone ignores the required semi-colon.

From SGML based HTML to version 4.01, it is possible to eliminate the last ; See .

Note. In SGML, the last ""; In some cases after the reference of a character (for example, just on a line segment or just before a tag). In other circumstances, it can not be eliminated (e.g., in the middle of a word). We ""; In all cases, the character must be present in order to avoid problems with the user's agents.

However, states need to end the character references with semicolons. To prepare your existing site for HTML5, I suggest you end the reference with a semicolon.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -