In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge points of this article "what is the difference between html5 and the previous generation of language", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "what is the difference between html5 and the previous generation of language" article.
The previous generation language of html5 was "XHTML 1.0". Html5 is a language standard released in 2012, and its previous version was "XHTML 1.0" released in 2000. "XHTML 1.0" is a new language optimized and improved on the basis of "HTML4.0" and aims to be based on XML applications.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
The previous generation language of html5 was "XHTML 1.0".
Since the early days of Web, several versions of HTML have been developed:
Version year description HTML 1.01993 was released in June 1993 as a working draft of the Internet Engineering working Group (IETF). HTML 2.01995 was released as RFC 1866 in November 1995 and was declared obsolete after its release in June 2000. HTML 3.2 1997 January 14, 1997, W3C recommended standard. HTML 4.01997, December 18, 1997, W3C recommended standard. HTML 4.01 (minor improvement) December 24, 1999, W3C recommendation. XHTML 1.02000
HTML52012HTML5 is recognized as the next generation of Web language, which greatly improves the ability of Web in rich media, rich content and rich applications, and is regarded as an important driver that will eventually change the mobile Internet. Internet Explorer 8 and previous versions are not supported. XHTML52013
Extensible Hypertext markup language (English: eXtensible HyperText Markup Language,XHTML) is a markup language that is similar to Hypertext markup language (HTML), but more syntactically rigorous. In terms of inheritance relationship, HTML is an application based on Standard Universal markup language (SGML) and a very flexible markup language, while XHTML is based on Extensible markup language (XML). XML is a subset of SGML. XHTML 1.0 became the recommended standard of W3C on January 26th, 2000.
XHTML is an Extensible markup language (XML) that plays a role similar to HTML, so, in essence, XHTML is a transitional technology that combines some of the powerful features of XML with the simple features of most HTML.
XHTML1.1 is the final independent standard of XHTML, and 2.0 ends in the draft stage. XHTML5 is part of the HTML5 standard, and the name has been changed to "HTML5 serialized in XML" rather than "Extensible HTML".
Forming background
At the end of 2000, the international W3C organization (World wide Web Alliance) announced the release of XHTML 1.0. XHTML 1.0 is a new language optimized and improved on the basis of HTML 4.0.It is intended to be based on XML applications. XHTML is an enhanced HTML,XHTML is a more rigorous and purer version of HTML. Its scalability and flexibility will meet the needs of more network applications in the future. Although XML has strong data conversion ability and can completely replace HTML, it is too early to adopt XML directly in the face of thousands of existing websites designed based on HTML language. Therefore, on the basis of HTML4.0, we extend it with the rules of XML to get XHTML. Therefore, the purpose of establishing XHTML is to realize the transition from HTML to XML. The WEB standard respected internationally in website design is the application based on XHTML (commonly known as CSS+DIV).
Difference
XHTML is the successor to the current HTML version. HTML syntax requirements are relatively loose, which is more convenient for web page writers, but for machines, the looser the syntax of the language, the more difficult it is to deal with. For traditional computers, it is also compatible with loose syntax, but for many other devices, such as mobile phones, it is more difficult. As a result, there is a XHTML with rules defined by DTD and more stringent syntax requirements.
Most common browsers can parse XHTML correctly, and even in early browsers, many of them can parse XHTML as a subset of HTML. In other words, almost all web browsers can not only parse HTML correctly, but also be compatible with XHTML. Of course, a complete transition from HTML to XHTML requires a process.
When combined with cascading stylesheets (foreign language acronym: CSS), XHTML can exert real power; this enables the separation of style and content, while organically combining web code, and mixing a variety of XML applications such as MathML and SVG in separate files.
The transition from HTML to XHTML is relatively small, mainly in order to adapt to XML. The biggest change is that the document must be well-formed and all tags must be closed, that is, the opening tag must have a corresponding closing tag. In addition, all tags in XHTML must be lowercase. According to the tradition since HTML 2.0, many people capitalize tags, which is a significant difference between the two. In XHTML, all parameter values, including numbers, must be enclosed in double quotation marks (in SGML and HTML, quotation marks are not required and can be avoided when the content is only numbers, letters, and other special characters allowed). All elements, including empty elements, such as img, br, etc., must also be closed by adding a slant at the end of the opening tag, such as
、 . Omitting parameters, for example, is not allowed, must be used. The detailed differences between the two can be found in the W3C XHTML description.
The above is about the content of this article on "what is the difference between html5 and the previous generation of languages". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
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.