W3C home > Mailing lists > Public > www-validator@w3.org > August 2013

[VE][html5] Add Subject Here

From: Windra Asrah <windra.asrah@gmail.com>
Date: Mon, 12 Aug 2013 12:07:39 +0700
Message-Id: <B160482D-FAAE-47DB-85D4-23891EF607D4@gmail.com>
To: www-validator@w3.org

Validating http://windraseptamadya.blogspot.com/
Error [html5]: ""

& did not start a character reference. (& probably should have been escaped as &amp;.)

But the wrong is in my href, not in the inner of this HTML

Allowed and valid:
<a>&amp;</a>
Allowed, but invalid:
<a>&</a>
Allowed and valid:
<a href="abc.com/a&b">&amp;</a>
Allowed, but invalid:
<a href="abc.com/a&b">&</a>

abc.com/a&b is different to abc.com/a&amp;b.
Thank you. This is my suggestion.

Suggestion:
in href and src, no &amp;, but &. In the inner of the tag (e.g. <a>inner of the tag</a>), is invalid to place the & into that, but &amp; is valid.
Received on Monday, 19 August 2013 10:53:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:09 UTC