encoding - Necessary to encode characters in HTML links? -
should encoding characters contained within url?
example:
<a href="http://google.com?topicid=1&pageid=1">some link using &</a>
or
<a href="http://google.com?topicid=1&pageid=1">some link using &</a>
yes.
in html (including xhtml , html5, far know), attribute values , tag content should encoded:
authors should use "&" in attribute values since character references allowed within cdata attribute values.
Comments
Post a Comment