首页 > 代码库 > Element link doesn't have required attribute property

Element link doesn't have required attribute property

前端标准http://validator.w3.org/ 拒绝你的代码时报 

Element link doesn‘t have required attribute property

把样式链接 <link ... 移到 <body>里,会报上面提醒

要想不报,把<link 还放到 <head> 里

当然要放到 <body>里,加 property=‘stylesheet‘

<link rel=stylesheet property=‘stylesheet‘ ......

 

Element link doesn't have required attribute property