No Doctype at all
网页没有DOCTYPE,这将意味着浏览器不得不去猜测你的网页是什么语言写的。
解决的方法是添加HTML或XHTMLdoctype
Forgetting to close an element
Missing / on self closing elements
Forgetting to convert special characters
Unencoded characters in URLs
Block elements inside inline elements
行内元素不能包含块元素
No ALT attribute added to images
Using attributes like “width” and “height”
图片:严禁文档
Starting a class or ID with a number
最好不要以数字开头
HTML标签常问题
最新推荐文章于 2024-07-24 16:53:23 发布