Home >Web Front-end >JS Tutorial >Is javascript h5?
javascrip is not h5, javascrip is a lightweight, interpreted or just-in-time compiled programming language with function priority; h5 refers to HTML5, which is the next generation standard of the Internet and is used to build and present Internet content. a form of language.
The operating environment of this article: windows7 system, javascript1.8.5&&html5 version, Dell G3 computer.
javascript is not h5.
Introduction to JavaScript
JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function priority. Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is a dynamic scripting language based on prototype programming, multi-paradigm, and supports object-oriented, imperative and declarative (such as functional programming) style.
Main functions
1. Embed dynamic text in HTML pages.
2. Respond to browser events.
3. Read and write HTML elements.
4. Validate data before it is submitted to the server.
5. Detect the visitor’s browser information. Control cookies, including creation and modification.
6. Server-side programming based on Node.js technology.
[Recommended learning: javascript advanced tutorial】
h5 introduction
HTML5 is to build the Web A linguistic description of content. HTML5 is the next generation standard of the Internet and a language method for constructing and presenting Internet content. It is considered to be one of the core technologies of the Internet. HTML was created in 1990, and HTML4 became an Internet standard in 1997 and is widely used in the development of Internet applications.
HTML5 is the specification of the core language HTML in the Web. The content that users see when browsing the web using any means is originally in HTML format. It is converted into a recognizable format through some technical processing in the browser. Information. HTML5 has made certain improvements on the basis of the previous HTML4.01. Although technical personnel may not put these new technologies into application during the development process, website development technical personnel must be aware of the new features of this technology. understand.
Advantages and disadvantages of HTML5
Advantages
The new generation of network standards can allow programs to pass through web browsers, allowing consumers to Ability to access the same programs and cloud-based information from any terminal including PC, laptop, smartphone or tablet. HTML5 allows programs to run through Web browsers and includes multimedia content such as videos that currently require plug-ins and other platforms. This will make the browser a universal platform that users can complete tasks through the browser. In addition, consumers can access a variety of content remotely stored in the "cloud" regardless of location and device. Due to the relatively advanced local storage technology in HTML5 technology, it can reduce the response time of applications and bring a more convenient experience to users.
Disadvantages
(1) Troubles caused by openness
In the past, there were a large number of patented products on the network platform, and we wanted to implement HTML5 technology A large number of applications first require these patented products to be turned into open products. Due to various reasons, there are still many controversies facing this issue. Taking video formats as an example, two camps have disputes over the setting of video formats. One camp is represented by Apple, and the other camp is represented by Opera, Firefox, and Google. The WPEG camp is the camp to which Apple belongs. Since it all uses this format, it insists that this format should be used as a standard. The WebM camp believes that since the patent of the WPEG format has not been lifted, it has no openness to the technical requirements of HTML5. It does not meet the standards, so we do not agree to use it as a standard format.
(2) The speed of development needs to be improved
In HTML5, some new technologies that were not available in previous HTML technology have been proposed, but many mainstream browsers have developed over a long period of time. After completing the development of this technology and implementing this function in its own browser, there are certain problems with the development speed of HTML5. At the same time, due to the immaturity of HTML5, the current technical standards related to HTML5 have not been fully determined, so it is still difficult to put it into large-scale application in a short time.
(3) Imperfect technical means
The above is the detailed content of Is javascript h5?. For more information, please follow other related articles on the PHP Chinese website!