0

I followed this stack, Html validation error for property attribute, and used the RDFa doctype to work with the Facebook Open Graph.

My question is, how can I get the HTML Validator to work with this line of code (required):

<map id="Map" name="Map">

Currently the validator fails because "there is no attribute 'name'".

Here's my page and validator error.

Community
  • 1
  • 1
Ryan
  • 6,027
  • 16
  • 52
  • 89

1 Answers1

3

The "name" attribute in XHTML has been deprecated in favor of the "id" attribute for the map tag.

Jeff Bowen
  • 5,904
  • 1
  • 28
  • 41