Difference Between HTML and HTML5 - Code Adda

Latest

Web Development and Automation

WELCOME TO CODE-ADDA

Dont Wait for Oppertunity Create it.

Tuesday, 7 January 2020

Difference Between HTML and HTML5


Difference Between HTML and HTML5


HTML5 was released with the primary objective of improving the World Wide Web experience for the developers and the end-users. Below the Image is Define the Difference Between HTMl4 and HTML4 is Declare div id="header"
HTML5 is only for HEADER as well as the same to below new tags in HTML5.


HTML4

  • It didn’t support audio and video without the use of flash player support.
  • It uses cookies to store temporary data.
  • Does not allow JavaScript to run in browser.
  • Vector graphics is possible in HTML with the help of various technologies such as VML, Silver-light, Flash, etc.
  • It does not allow drag and drop effects.


  • HTML5 supports SVG (Scalable
    Vector Graphics), canvas, and other virtual vector graphics, whereas in HTML, using vector graphics was only possible by using it in conjunction with different technologies like Flash, VML (Vector Markup Language), or Silverlight.
  • Web SQL databases are used in HTML5 for storing data temporarily. Meanwhile, in the previous version of HTML, only browser cache could be utilized for this purpose.
  • With HTML5, JavaScript can run within a web browser, while the older HTML only allows JavaScript to run in the browser interface thread.
  • HTML5 is not based on SGML. It means that the language has improved parsing rules which provide enhanced compatibility.
  • You can use inline MathML and SVG in text with HTML5, whereas HTML restricts it.
  • Some elements are removed in HTML5, like isindex, noframes, acronym, applet, basefont, dir, font, frame, frameset, big, center, strike, and tt.
  • HTML5 supports new kinds of form controls, including dates and timesemailnumberrangetelURL, search.
  • There are new multiple new elements in HTML5. Some of the most important ones are summary, time, aside, audio command, data,datalist, and so on

No comments:

Post a Comment

Please Do Not Add Any Spam Link in Comment