I'm trying to validate this code:
....er.cgi?img_click=/racer_profiles_sky&multiad=2" target="_blank"><img src="htt....
The validator points to the &m and the = sign in &multiad=2"
It gives me this "explanation":
“unknown entity ‘FOO’”
The validator has found an entity (something like &this;) that it doesn't recognize. There are a few possibilities:
A reference to a URI that uses & as a separator between parameters, such as "http://example.org/prog?x=1&y=2".
To solve this problem, simply replace all the &'s in attribute values with & (user agents will convert them back before following the links.)
Another way to get around this problem is for the author of the CGI program to allow a different value to be used between arguments, like ';' or '¦', which would allow the link to be coded as e.g. <a href="http://example.org/prog?x=1;y=2">
An unterminated entity; for instance, this&that for "this&that", which the validator (correctly) interprets as a request for the entity &that;. Technically, any non-alphanumeric character (such as a space) will suffice to terminate the entity, but some browsers get this wrong; the safest thing to do is to terminate all entities with a semicolon, turning our example into this&that.
The entity " in conjunction with the HTML 3.2 DOCTYPE. This entity was accidentally omitted from the most recent version of the HTML 3.2 DTD. You should be able to ignore this error safely, though if you wish, you can replace " with the equivalent character entity ".
I replaced the & with & but have no idea what to do with the =2
Is there a simple fix?