The name attribute is obsolete

30. 05. 2013 at 17:56

I got this error message using a name anchor tag when trying to validate a page in HTML5

The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.

Here’s the code I had:

<a name=’anchor word’>

the solution is to replace name with id

<a id=’#anchor word’>

Quote ‘ in attribute name error

30. 05. 2013 at 13:54

Quote ‘ in attribute name. Probable cause: Matching quote missing somewhere earlier.

I got the above error when validating a html5 page.

The problem was solved by changing

<meta charset=”UTF-8″ >

to add a closing backspace :

<meta charset=”UTF-8″ />

Hope that helps others with the same problems