Home >Web Front-end >H5 Tutorial >What can you do with html5? Advantages and Disadvantages of Html5 (Summary)
This chapter will introduce to you what can be done using html5? The advantages and disadvantages of Html5 (summary), so that everyone can understand what html5 is, what it is used for, and what are the advantages and disadvantages of Html5. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
1. What can html5 do?
Before introducing what html5 can do, we need to first understand what html5 is, then we need to understand what html is. Let’s find out:
HTML is the abbreviation of Hyper Text Markup Language. The Chinese meaning is "Hypertext Markup Language". It is the standard language for making web pages. Because web pages contain not only ordinary text but also hypertext, it is called a hypertext description language.
HTML is the basic description language for web pages. Its purpose is to easily connect text or graphics on one computer with text or graphics on another computer to form an organic whole. People don't have to think about whether the information is on their current computer or on other computers on the network; it is not a programming language, but a descriptive markup language that uses tags to describe web pages and is responsible for Format web content to make it more logical.
So what is HTML5?
html5 is the result of the fifth major revision of HTML (Hypertext Description Language). Compared with HTML, some new elements and features have been added; it can be simply understood as: HTML 5 ≈ HTML CSS 3 JS API.
The role of HTML5:
1. There are more beautiful animation effects and better page interaction
The webpage realized by html5 is more Exquisite, these animations are based on the effect achieved by html5 tags and CSS3 styles. HTML5 technology also supports self-adaptation, which can achieve "one design, universal application."
2. Solve the cross-browser problem
For front-end developers who have developed projects, the cross-browser problem is definitely an eternal nightmare: the HTML CSS JavaScript page that runs completely normally in one browser, but after changing to another browser, There will be many problems, such as JavaScript running errors, page layout confusion, etc. Therefore, front-end developers will first determine the other party's browser, and then write different compatible page codes based on the other party's browser. The emergence of HTML5 has changed this situation. Currently, mainstream browsers such as Edge (Internet Explorer), Chrome, Firefox, and Safari have shown great enthusiasm for HTML5.
3. Cross-platform, offline use
HTML5 can be cross-platform, and most core codes do not need to be rewritten. If Javascript code is used well, it can be used in many places, including Mobile applications, mobile websites, PC websites, various browser plug-ins, and even WebKit packages can be used as cross-platform applications. Admittedly, this method is not completely cross-platform, but it is enough to reduce a lot of workload, especially later maintenance.
Users can use and access applications offline, which is especially important for mobile terminal users who cannot stay connected to the Internet at all times; and users accessing local cache files usually means faster access speeds.
2. Advantages and Disadvantages of Html5
Advantages:
1. Improve usability and Improve the user-friendly experience;
2. There are several new tags to help developers define important content;
3. It can bring more multimedia elements (video and audio) to the site );
4. Can be a good replacement for FLASH and Silverlight;
5. When it comes to website crawling and indexing, SEO is very friendly;
6. Can be used in large quantities Applied to mobile applications and games;
7. Good portability.
Disadvantages:
This standard is not well supported by browsers. Due to the introduction of new tags, there will be a lack of a unified data description format among browsers, resulting in poor user experience.
The above is the detailed content of What can you do with html5? Advantages and Disadvantages of Html5 (Summary). For more information, please follow other related articles on the PHP Chinese website!