Article introduction of Wulin.com (www.vevb.com): HTML5 is simply a new set of standards, syntax and rules used to create web pages, which can utilize some "local" functions of new browsers, such as offline storage, multimedia playback and other interactions, etc. Many of the cool HTML5 websites we've seen are actually not related to HTML5, but are generated by CSS3 and jQuery. CSS3 and jQuery are the same new technologies as HTML5
As Bruce Lawson, the preacher of Opera, said, everyone is talking about HTML5, which is very magical and mysterious. In fact, many people say that HTML5 is actually just ancient DHTML or Ajax. Mixing all the information together is a bunch of error messages.
HTML5 simply means a new set of standards, syntax and rules to create web pages, which can utilize some local functions of new browsers, such as offline storage, multimedia playback and other interactions, etc. Many of the cool HTML5 websites we've seen are actually not related to HTML5, but are generated by CSS3 and jQuery. CSS3 and jQuery are new technologies like HTML5, and they are parallel concepts with HTML5.
This article talks about 7 legends about HTML5, that is, misunderstandings.
Legend #1: Because Apple does not support Flash, people invented HTML5
The big tree attracts wind, and apples seem to be often criticized. While HTML5 can provide some very useful features for mobile devices, it is not created for this requirement. In fact, back in 2004, Opera and Mozilla defined some good design standards to solve the messy web standards. Their purpose is to submit these standards to W3C to create a better, faster HTML standard. This standard was not accepted until 2006. In just three years, people drafted a new standard, reviewed and approved, and started to be used.
Legend #2: HTML5 won't mature until 2022
I don't know who passed this sentence. We know that the drafting of HTML5 has been reviewed and approved in 2009, which means there is no new content to be added and there will be no significant changes. You can use HTML5 now and don't have to worry about backward compatibility issues. You can use some lightweight JavaScript to enable older browsers to support complex Canvas. All new versions of browsers support HTML5. What you need to worry about is not the HTML tag, but CSS. Many older browsers have poor support for CSS3.
Legend #3: HTML5 requires CSS3 support
Although CSS3 can add a lot of color to HTML5, such as semantic class names, this is by no means necessary. HTML5 is just a markup language, you can certainly use HTML5 + CSS2, but it's not that elegant. Because, you need to specify all styles for each element. For example, in HTML5, in order for the browser to render the page correctly, you need to set a display:block declaration for each page element. In short, HTML5 needs styles to make the page look better, but it does not have to be CSS3.
Legend #4: HTML5 destroys accessibility
Instead, HTML5 has been designed with accessibility in mind. Each element supports the WIA ARIA logo role. These characters can allow devices like screen readers to better understand the content of the page.
Legend #5: HTML5 is the Flash killer
Flash is still used by countless websites and developers. Misunderstandings about Flash and HTML5 stem from the dispute between Adobe and Apple and the rapid popularity of HTML5 audio and video applications. Although HTML5 can support a small amount of video playback well, HTML5 requires more encoding resources than Flash and lacks the technology provided by browser plug-ins. Currently, the large number of HTML5 technologies similar to Vimeo and YouTube are used to promote this technology, and they will not completely give up Flash in the short term. Developer Viki Hoo has some compelling views on the fact that Flash will still be widely used.
But from the perspective of page design, we hope to get rid of FLash as soon as possible. HTML5 is easier to learn and use. It requires no plugins, loads quickly, and is mobile-friendly. So it’s not HTML5 that killed Flash, to be precise, HTML5 will dominate the mobile design and development market.
Legend #6: As long as you add HTML5 doctype to my website, it will be an HTML5 website
From a browser perspective, yes, websites that add HTML5 doctype will be considered HTML5 websites. But HTML5 is more than just a doctype. It is a complete set of best practices, semantic tags, typesetting elements such as, etc. These elements allow your website to take advantage of the new features of the browser to be called HTML5. At the same time, you should also pay attention to elements and attributes that are deprecated in HTML5 to ensure compatibility.
Legend #7: Using HTML5 will give me more girls/jobs/money/respect…
Proficiency in HTML5 won't make you look sexy unless you're Bruce Lawson. It won't let you find the job you dream of either. Your strength still needs to be reflected through design ability and coding ability. Of course, the enthusiasm and perseverance to learn new technologies is worthy of appreciation. You have the potential to gain the respect of your colleagues if you help them with what you have learned.
Note: English source comes from justcreative, this article is compiled by OSCHINA.NET