write down the difference between html and html5 ?
Answers
Answered by
2
If this answer is acceptable please add as brainleist.
html:
1. Doctype declaration in Html is too longer.
2. Character encoding in Html is also longer.
3. Audio and Video are not part of Html4.
4. Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc.
5. It is almost impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices.
6. Html5 use cookies.
7. Not possible to draw shapes like circle, rectangle, triangle.
8. Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.
html5:
1. Doctype declaration in Html5 is very simple.
2. Character encoding (charset) declaration is also very simple.
3. Audio and Videos are integral part of HTML5 e.g. audio and video tags.
4. Vector graphics is integral part of HTML5 e.g. SVG and canvas.
5. JS GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it).
6. It provides local storage in place of cookies.
7. Using Html5 you can draw shapes like circle, rectangle, triangle.
8. Allows JavaScript to run in background. This is possible due to JS Web worker API in Html5.
html:
1. Doctype declaration in Html is too longer.
2. Character encoding in Html is also longer.
3. Audio and Video are not part of Html4.
4. Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc.
5. It is almost impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices.
6. Html5 use cookies.
7. Not possible to draw shapes like circle, rectangle, triangle.
8. Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.
html5:
1. Doctype declaration in Html5 is very simple.
2. Character encoding (charset) declaration is also very simple.
3. Audio and Videos are integral part of HTML5 e.g. audio and video tags.
4. Vector graphics is integral part of HTML5 e.g. SVG and canvas.
5. JS GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it).
6. It provides local storage in place of cookies.
7. Using Html5 you can draw shapes like circle, rectangle, triangle.
8. Allows JavaScript to run in background. This is possible due to JS Web worker API in Html5.
Similar questions