Get rid of “Bad value X-XRDS-Location for attribute http-equiv on XHTML element meta.” in XHTML5 validation

后端 未结 2 1185
孤街浪徒
孤街浪徒 2020-12-22 11:37

I have an XHTML 5 page served with application/xhtml+xml which I want to get to validate, but the validator gives me trouble in its validation results:

Line          


        
2条回答
  •  伪装坚强ぢ
    2020-12-22 12:26

    http://www.w3.org/TR/html-markup/meta.html says:

    Changes in HTML5

    Although previous versions of HTML allowed the http-equiv attribute on the meta element to have any number of possible values, the http-equiv attribute is now restricted to only the specific values described in this reference. Also, the new charset attribute is now allowed.

    So, yes, it is not allowed anymore.

提交回复
热议问题