In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what are the common versions of html". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
The previous version of html5 was "XHTML 1.0", which was introduced in 2000. XHTML is a stricter and purer version of HTML, which is a combination of XML and HTML, XML is used to load data, tags must be correctly marked, and HTML is used to display data.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
HTML version
Since the early days of Web, several versions of HTML have been developed:
Version year HTML1991HTML+1993HTML 2.01995HTML 3.21997HTML 4.011999XHTML 1.02000HTML52012XHTML5
2013
Introduction to common versions of HTML
1 、 HTML
Hypertext markup language (Hyper Text Markup Language), an application under the standard general markup language SGML (Standard Generalized Markup language). HTML is not a programming language, but a markup language (markup language), which is necessary for web page making. "Hypertext" means that a page can contain pictures, links, even music, programs and other non-text elements. The structure of hypertext markup language (or hypertext tag language) includes a "header" part and a "body" part, wherein the "header" part provides information about the web page, and the "body" part provides the specific content of the web page.
HTML language is used to describe web pages.
HTML refers to hypertext markup language: Hyper Text Markup Language
HTML is not a programming language, but a markup language
Markup language is a set of markup tags (markup tag)
HTML uses tag tags to describe web pages
The HTML document contains HTML tags and text content
HTML documents are also called web pages
2 、 XHTML
XHTML is a stricter and purer version of HTML, which is a combination of XML and HTML, XML is used to load data, tags must be correctly marked, and HTML is used to display data, so combine the strengths of the two, and you have XHTML.
XHTML is the abbreviation of EXtensible HyperText Markup Language, which is an extensible hypertext markup language.
XHTML is a markup language that does not need to be compiled and can be executed directly by the browser.
XHTML is used to replace HTML and was published by W3C in 2000.
XHTML is an enhanced HTML, and its scalability and flexibility will meet the needs of more network applications in the future.
XHTML is an application based on XML.
XHTML is more concise and rigorous.
XHTML can be said to be an upgraded version of HTML.
XHTML is case-sensitive, and XHTML is different from html. Standard XHTML tags should be lowercase.
3 、 HTML5
HTML5 is the result of cooperation between W3C and WHATWG, and WHATWG refers to Web Hypertext Application Technology Working Group.
WHATWG focuses on web forms and applications, while the W3C focuses on XHTML 2.0. In 2006, the two sides decided to work together to create a new version of HTML. HTML5 is designed to support multimedia on mobile devices. HTML5 is easy to learn.
Common differences between HTML4.01, XHTML, and HTML5
1. Declaration differences (HTML4.01, XHTML, HTML5)
There are many different versions of HTML, and only by accurately specifying the exact HTML version in the page can the browser display the HTML page correctly. That's what it's for. It's not a HTML tag, it just provides a declaration for the browser, so it doesn't have a closing / closing tag!
HTML 5:
HTML 4. 01 specifies three document types: Strict, Transitional, and Frameset. Strict version, transitional version, and framework-based version!
XHTML 1. 0 also specifies three document types: Strict, Transitional, and Frameset. Strict version, transitional version, and framework-based version!
Strict:
HTML 4.01:
XHTML 1.0:
HTML 4.01:Transitional:
XHTML 1.0:
Frameset:
HTML 4.01: XHTML 1.0:
2. The difference between HTML and XHTML
HTML is an application based on standard generic markup language SGML, while XHTML is based on extensible markup language XML, which is a subset of standard generic markup language
XHTML elements must be nested correctly.
The XHTML element must be closed.
The signature must be in lowercase letters.
The XHTML document must have a root element.
3. The change of HTML5
Canvas elements for painting
Video and audio elements for media playback
Better support for local offline storage
New special content elements, such as article, footer, header, nav, section
New form controls, such as calendar, date, time, email, url, search
New attributes, such as the charset attribute of the meta tag
Full support for CSS3
2D/3D mapping
Local SQL data
Web application
In HTML5, you don't have to use type= "text/javascript" in the tag. JavaScript is the default scripting language in HTML5 and all modern browsers!
This is the end of the content of "what are the common versions of html". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.