题主你让我分心了,阿弥陀佛,工作工作。
在XHTML标准下,所有标签名必须小写。这个也是个标签吧?
html 对大小写是不敏感的,不管是 doctype 还是 DOCTYPE 都是可以的,甚至 p 和 P,h1 和 H1 也都可以,哪个习惯就用哪个。
html5(包括4)不区分大小写,但是建议小写,因为xhtml是要求小写的
HTML Tip: Use Lowercase Tags
HTML tags are not case sensitive:
means the same as
.
The HTML5 standard does not require lowercase tags, but W3C recommends lowercase in HTML4, and demands lowercase for stricter document types like XHTML.
http://www.w3schools.com/html/html_elements.asp
至于doctype,我是依照建议小写的……
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn