HTML 4 | HTML 5 |
It is the fourth iteration of HTML. | It is the fifth iteration of HTML – an update over HTML4. |
Lengthy Doctype declaration: | Simple Doctype declaration: |
These tags are not available in HTML4. | Comes with new HTML tags, including <audio>, <video>, <header>, <footer>, <canvas>, <article>,and more. |
Multimedia supporting tags are not available. | Multimedia supporting tags are available. |
Difficult for developers to handle inaccurate syntax errors. | It can handle inaccurate syntax errors. |
To store important data on the client-side, the browser’s cache is used. | HTML5 uses the web SQL database, web storage, and application cache to store offline data that can be accessed through HTML5’s JavaScript interface. |
<div>tag is used for separating two parts. |
Does not require <div>tag. |
Adding a figure with a caption to a document is not possible. | Adding a figure with a caption to a document is semantically possible. |
1 | Bill gates | $1000 |
2 | Steve Jobs | $1200 |
3 | Larry Page | $1200 |
flex use in parent tag but inline use in child tag.
Search Google HTML5
Title attribute= when mouse hover then show text
Immediate tag such as== ul>li Emmat: section>article.blog*5>h3{My Blog-$}+p>lorem50 then enter Search google: emmet cheat sheet ^=Clent up =upore uta