Home > Article > Web Front-end > The most comprehensive interpretation of H5
This time I will bring you the most comprehensive interpretation of H5, an in-depth understanding of H5, and what are the precautions when using H5. Here are practical cases, let’s take a look.
Official: HTML5 concept
HTML5 is the HTML standard version used to replace the HTML 4.01 and XHTML 1.0 standards formulated in 1999. It is still in the development stage, but most browsers already support it Certain HTML5 technologies. HTML 5 has two major features: First, it enhances the performance of Web pages. Secondly, the functions of web applications such as local database are added. When talking about HTML5 in a broad sense, it actually refers to a set of technology combinations including HTML, CSS and JavaScript. It hopes to reduce the browser's need for plug-in-based rich internet application services (RIA), such as Adobe Flash, Microsoft Silverlight, and Oracle JavaFX, and provide more that can effectively enhance network applications. standards.
Current Situation
Today’s Internet circle talks about H5 at all times. H5 is widely forwarded in the circle of friends. Various recruitment requirements require proficiency in H5. With the market demand, H5 engineers have appeared. A large number of H5 engineers immediately emerged, and the word H5 even appeared in the resumes of designers. It seems that the html layout on the mobile phone is called H5.
What exactly is H5 among the vast majority of the population?
2015 can be called the first year of H5. All major companies and brands have turned their attention to HTML5. All kinds of H5 have sprung up overnight, with endless creativity and tricks. However, after a year of hard work on H5, there are many finished products, but few are truly popular. This can’t help but make many brands think deeply: How can we maximize an H5 and achieve effective communication effects?
In fact, a successful H5 marketing must have three factors: insight into human nature, high playability, and clever brand exposure. Recently, a "global hot news" H5 game that hit the circle of friends fully complied with the above three points and became an "Internet celebrity" overnight.
If you use five words to describe the characteristics of today's netizens, they would be: fun, showing off, participation, fun, and following the trend. Only by having a deep understanding of human nature and taking the right medicine can we make H5 that allows users to be willing to spread it again.
So, to sum up, the H5 people refer to does not refer to HTML5, but to something that looks cool on mobile terminals such as WeChat and can enhance the company's style. By the way, visitors’ titanium alloy dog eyes are blinded and their hearts of worship are suddenly raised. **** It is something that can be widely forwarded and shared even if there is no content. It is H5 in the marketing concept.
The goal of H5
in my (front-end developer) eyes:
The goal of HTML5 is to be able to create simpler Web programs. Write more concise HTML code. For example: In order to make the development of Web applications easier, many APIs are provided; in order to make HTMl more concise, new attributes, elements, etc. are developed. Overall, it provides many new features and new standards for the next generation Web platform.
The reasons why HTML5 is so popular
Whether H5 is said to be epoch-making or revolutionary, it is meaningless if it cannot be recognized by the industry and promoted and used on a large scale. of. In fact, H5 is already supported by world-renowned browser manufacturers.
1. The requirements of the times.
The current era has urgently required a unified universal standard for the Internet. The situation before the emergence of H5 was that due to disagreements between browsers, a lot of time was wasted just by bugs caused by modifying the compatibility between web browsers. The emergence of H5 has brought Web development into a new era. On this platform, video, audio, images, animations, and interactions with computers are all standardized.
2. IE8 support.
Everyone knows the significance of IE to web developers. Now the IE browser with the highest market share is also actively responding to H, and Microsoft has also expressed its approval and support for the new universal Internet standards. For example: the sessionStorage function and globalStorage function that replace cookies in
h5 are supported in ie8. When using ajax, if you click the return button, you can actually return the operation.
Three issues to be solved by H5
1. Differences and compatibility between web browsers.
2. The old standard document structure is not clear enough.
3. The functions of web applications are limited.
H5 new standard knowledge points list
1. Add new elements/attributes and delete elements/attributes and layout structures.
2. Native Form validation
3. Canvas drawing graphics (mostly used for data visualization)
4. Multimedia related APIs (video, audio)
5. History Api history record (For front-end routing management)
6. Local storage (web storage, indexedDb database)
7. Offline application (browser and server interaction)
8. File API (filelist object, blob object, filereader object, Base64 encoding support)
9, Communication API (cross-document message transmission, webSockets communication)
10, WebRtc communication (browser detection, P2P communication, firewall traversal, multi-person communication, etc.)
11 , Extended XMLHttpRequest Api (cross-domain)
12, Web Workers thread processing
13, Obtaining geographical location
14, Drag and drop API and notification API
, etc.
Believe it or not After reading the case in this article, you have mastered the method. For more exciting information, please pay attention to other related articles on the PHP Chinese website!
Related reading:
How to debug different versions of nodejs with different versions of vscdoe
vue2.0 projects are very practical Code collection
The above is the detailed content of The most comprehensive interpretation of H5. For more information, please follow other related articles on the PHP Chinese website!