1

I'm a bit confused by the results of the html validator at validator.w3.org/check

(I am using the <!DOCTYPE html> (html 5) option, and the site says that there may be mistakes in the new HTML 5 validator. I'm not sure whether I am looking at a mistake or not.)

It complains about this line:

<a href="itempurchasesell?id=2&purchase=true&loc=Main%20Warehouse">

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

Can I ignore this error, or is something wrong with my code? Please pardon my ignorance.

Howli
  • 11,925
  • 19
  • 46
  • 70
user2258603
  • 55
  • 1
  • 4

1 Answers1

1

As it has been told in comments : use &amp; (without space between & and amp;)

M'sieur Toph'
  • 2,372
  • 1
  • 19
  • 34