Ryan
Ryan

Reputation: 6217

HTML validation errors using Facebook RDFa doctype & meta property

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.

Upvotes: 0

Views: 453

Answers (1)

Jeff Bowen
Jeff Bowen

Reputation: 6162

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

Upvotes: 3

Related Questions