In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what is the concept of HTML". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations. I hope you can read carefully and learn something!
What is HTML? What's the point?
is a declaration that specifies which HTML version the web browser uses to write the page, i.e., an instruction that instructs the Web browser about the HTML page.
Note: Not an HTML tag, it has no closing tag and is case-insensitive; it must appear on the first line of the HTML document, before the tag.
the declared type
In fact, there are many types of HTML, such as HTML 4.01 Strict, HTML 4.01 Transitional, HTML 4.01 Frameset, XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, XHTML 1.1, etc.
Here's how HTML 4.01, HTML5, and XHTML declarations are written:
HTML 4.01 Statement
There are three possible document types in HTML 4.01: HTML 4.01 Strict, HTML 4.01 Transitional, and HTML 4.01 Frameset. When we want to create a document of type HTML 4.01, the declaration needs to have one of these three DTDs.
Note: In HTML 4.01, declarations need to refer to DTDs because HTML 4.01 is SGML based. DTD specifies the rules of markup language so that browsers can correctly recognize content.
HTML 4.01 Strict
1
HTML 4.01 Transitional
1
;
HTML 4.01 Frameset
1
XHTML declaration
XHTML declarations can be divided into XHTML 1.0 declarations and XHTML 1.1 declarations. In XHTML 1.0, there are three possible document types: XHTML 1.0 Strict, XHTML 1.0 Transitional, and XHTML 1.0 Frameset. Let's see how XHTML declarations are written:
XHTML 1.0 Strict
1
XHTML 1.0 Transitional
1
XHTML 1.0 Frameset
1
XHTML 1.1
1
HTML 5 Statement
There is only one declaration in HTML5, and because HTML5 is not SGML-based, there is no need to reference a DTD. HTML 5 therefore declares the following:
1
Note: It is always a good practice to add declarations to HTML documents so that Web browsers can recognize the expected document type.
browser compatibility
Declares compatibility with all browsers.
"What is the concept of HTML" content introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.