What’s New in HTML5

New in HTML5 The most significant difference between older versions of HTML vs HTML5 is the integration of video and audio into the language’s specifications.

 

You can view another article :

HTML5 Element List, tags
5 Best CSS Learning Website
10 best Web Design Learning Site(Free)

 

Additionally, HTML5 includes the following updates:

  • Deprecated elements like center, font, and strike have been dropped.
  • Improved parsing rules allow for more flexible parsing and compatibility.
  • The Elements including video, time, nav, section, progress, meter, aside and canvas.
  • New input attributes including email, URL, dates and times.
  • attributes including charset, async and ping.
  • APIs that offer offline caching, drag-and-drop support and more.
  • Support for vector graphics without the aid of programs like Silverlight or Flash.
  • Support for MathML to allow better display of mathematical notations.
  • JavaScript can now run in the background thanks to the JS Web worker API.
  • Global attributes such as tabindex, repeat and id can be can be applied for all elements.

 

HTML

  1. Doctype declaration in Html is too longer
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
  2. character encoding in Html is also longer 
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
  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 the browser. JS runs in the same thread as a browser interface.
  9. Works with all old browsers

 

HTML5

  1. DOCTYPE declaration in Html5 is very simple “<!DOCTYPE html>
  2. character encoding (charset) declaration is also very simple <meta charset=”UTF-8″>
  3. Audio and Videos are integral part of HTML5 e.g. <audio> and <video> tags.
  4. Vector graphics is an integral part of HTML5 e.g. SVG and canvas
  5. JS GeoLocation API in HTML5 helps identify the location of user browsing any website
  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 the background. This is possible due to JS Web worker API in HTML5
  9. Supported by all new browser.

 

Check Also

100+ Top Free High PR Classified Submission Sites List UK

100+ Top Free High PR Classified Submission Sites List UK

High PR Classified submission sites list uk. The commercials were initially introduced in newspapers and …

Leave a Reply

Translate »