A lot of the cool HTML5 websites we see actually have nothing to do with HTML5, but are generated by CSS3 and jQuery. CSS3 and jQuery are new technologies like HTML5, and they are parallel concepts to HTML5.
This article talks about 7 legends about HTML5, that is, misunderstandings:)
Myth #1: Because Apple does not support Flash, people invented HTML5
A big tree attracts the wind, Apple It seems that he is often accused of various things. Although HTML5 can provide some very useful features for mobile devices, it was not created with this requirement in mind. In fact, as early as 2004, Opera and Mozilla defined some standards for good design in order to solve the mess of web standards. Their purpose is simple, to submit these standards to the W3C to create a better, faster HTML standard. This standard was not accepted until 2006. In just three years, a new standard was drafted, approved and put into use.
Legend #2: HTML5 will not mature until 2022
I don’t know who said this. We know that the draft document of HTML5 has been reviewed and approved in 2009, which means that no new content can be added and there will be no significant changes. You can use HTML5 now without worrying about backwards compatibility. You can make older browsers support complex Canvas through some lightweight JavaScript. All new browser versions support HTML5. It's not the HTML tags you need to worry about, it's the CSS. Many older browsers have poor support for CSS3.
Myth #3: HTML5 requires CSS3 support
While CSS3 can add a lot of features to HTML5, such as semantic class names, it is by no means required. HTML5 is just markup language, you can certainly use HTML5 CSS2, it's just not as elegant. Since HTML5 removes attributes and tags, 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 the "display:block" declaration for each page element. In short, HTML5 requires styles to make the page look better, but it doesn't have to be CSS3.
Myth #4: HTML5 breaks accessibility
On the contrary, HTML5 was designed from the ground up with accessibility in mind. Every element supports WIA ARIA logo characters. These roles allow devices such as screen readers to better understand the content of the page.
Myth #5: HTML5 is the Flash killer
Flash is still used by countless websites and developers. The misunderstanding between Flash and HTML5 stems from the feud 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 coding resources than Flash and lacks the technology provided by those browser plug-ins. Currently, companies like Vimeo and YouTube are using HTML5 technology extensively to promote this technology, and they will not completely abandon Flash in the short term. Developer Viki Hoo has some compelling arguments for why Flash will still be widely used.
But from a page design perspective, we hope to be freed from 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 that HTML5 will kill Flash, it’s that HTML5 will dominate the mobile design and development market.
Legend #6: As long as I add HTML5 doctype to my website, it is an HTML5 website
From a browser perspective, yes, any website that adds HTML5 doctype will Considered an HTML5 website. But HTML5 is more than just a doctype. It is a complete set of best practices, semantic tags, typographic elements such as