Html
- Doctype declaration in Html is too longer
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/stric..."> - character encoding in Html is also longer
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> - Audio and Video are not part of HTML4
- Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc
- It is almost impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices.
- Html5 use cookies.
- Not possible to draw shapes like circle, rectangle, triangle.
- Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.
- Works with all old browsers
Html5
- DOCTYPE declaration in Html5 is very simple "<!DOCTYPE html>
- character encoding (charset) declaration is also very simple <meta charset="UTF-8">
- Audio and Videos are integral part of HTML5 e.g. <audio> and <video> tags.
- Vector graphics is integral part of HTML5 e.g. SVG and canvas
- JS GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it)
- It provides local storage in place of cookies.
- Using Html5 you can draw shapes like circle, rectangle, triangle.
- Allows JavaScript to run in background. This is possible due to JS Web worker API in HTML5
- Supported by all new browser.
****** Thank you ! ******
www.gatitaa.com
No comments:
Post a Comment