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

后端 未结 2 1189
孤街浪徒
孤街浪徒 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条回答
  •  萌比男神i
    2020-12-22 12:31

    In (X)HTML5, you may only use http-equiv values that are

    • defined in the HTML5 spec, or
    • registered in the WHATWG wiki page "PragmaExtensions".

    If you think X-XRDS-Location would be a useful value, you’d have to register it.

提交回复
热议问题