HTML5 is a markup language used for structuring and presenting content on website. HTML 5 is an updated version of HTML. It's much similar to HTML. But difference is HTML 5 contains much better support for media such as audio, video etc.
1. Simple Syntax
The simple doctype declaration is one of the many novelties in HTML5. Now you need to write only: <!doctype html>. The syntax of HTML5 is compatible with HTML4 and XHTML1, but not with SGML.
2. HTML5 is in Progress
HTML5 hasn’t been standardized like HTML4. You don’t have to worry about updating pages built using HTML4.
Elements and attributes are added and modified several times. Of course, this is dependent how much we depend on rich elements.
Build with HTML4, play with HTML5.
3. New Elements
<header> and <footer> are specifically marked for such. Because of this, it is unnecessary to identify these two elements with a <div> tag.
<section> and <article> allows you to mark specific areas of your layout as such, and should have a positive effect on on your SEO in the end.
<menu> can be used for your main menu, but it can also be used for toolbars and context menus.
<figure> element is another way to arrange text and images.
<audio> and <video> elements to use/run audio and video files on the html page
<canvas>
New <form> and <forminput> elements are added
4. No more use of some of the Elements
<b> and <font> are added in CSS itself
No more <frame>, <center>, <big> elements
Conclusion
HTML5 actually strives to be something very different. It aims to be more of an application development platform, which includes not only depends on text and images, but also playing video and audio, storing data in the application, and real-time networking protocols for exchanging data as it happens etc..
Enjoy your website with updated markup language HTML5!!!!
Difference between HTML and HTML5
ReplyDeleteNice article thanks for sharning