The so-called DOCTYPE, originally the concept of XML, that is, through a specific syntax, as a kind of metadata, to describe the elements allowed in the XML document, as well as the composition of the elements, nested rules and so on. Specific
Transferred from: http://www.cnblogs.com/GrayZhang/archive/2011/03/31/learning-html5-doctype.htmlThe previous article mainly describes the composition of the HTML document, while superficially touching the concept of "label omission", this article
ArticleDirectory
Trigger standard mode
Trigger weird Mode
Special method of writing X-UA-compatible
Almost standards mode)
XML mode-application/XHTML + XML content
Refer:
Summary:
I can see an interview question in
Some time ago I saw an article about Doctype in the garden: Correct Use of DOCTYPE reminds me of the same problem I encountered during DotNetNuke development. Indeed, this question is not big, not small. In DotNetNuke, you can select the default one.
Why declaration. Use doctype to declareInstance:
We often see code like this:
document title document content ......
Note:At the top of the list, we can see a statement about "DOCTYPE" (document type), which tells the browser which
Beginner DOCTYPE (document type) DOCTYPE is a shorthand for document type, which is used to indicate what version of XHTML or HTML you are using.
What are they and why are they important?
All HTML and XHTML documents must have a valid DOCTYPE
The DOCTYPE statement follows certain rules that indicate what set of rules the reader should use to interpret the markup in the document.
DOCTYPE not scary, but take it away, will make you scared and afraid.
Recently in the blue ideal around,
By default, the interpretation criteria for FF and IE are different, that is, if a Web page does not declare DOCTYPE, it interprets the following HTML with the default DOCTYPE. Under the same standard, different browser models have differences in
HTML tag, htmldoctype tag
By default, the FF and IE interpretation standards are different. That is to say, if a webpage does not declare DOCTYPE, it will explain the following HTML with the default DOCTYPE. Under the same standard, different
Web|web Standard | Web page DOCTYPE (document type) DOCTYPE is a shorthand for document type, which is used to indicate what version of XHTML or HTML you are using.
What are they and why are they important?
All HTML and XHTML documents must have a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.