HTML5 and HTML Difference

Difference between HTML and HTML5

What is HTML5?

Difference between HTML5 and HTML : HTML5 is a software solution stack that defines the properties and behaviors of web page content by implementing a markup-based pattern to it. HTML5 was the fifth and current major version of HTML that is a World Wide Web Consortium recommendation.

Initial release: 28 October 2014; (5 years ago)
Developed by: World Wide Web Consortium
Type of format: Markup language

Example of HTML5

<!DOCTYPE HTML>
<html lang = "en">
<head>
  <!-- basic.html -->
  <title>basic.html</title>
  <meta charset = "UTF-8" />
</head>
<body>
  <h1>Level One Headline</h1>
  <p>
    This is a paragraph.
    Note that the text is automatically wrapped.
  </p>
</body>
</html>

What is HTML?

Difference between HTML5 and HTML : HTML¬†stands for Hypertext Markup Language. It allows the user to create and structure sections, paragraphs, headings, links, and blockquotes for web pages and applications. … For example, we can create a paragraph by placing the enclosed text within a starting <p> and closing </p> tag.

Top 10 impressive Scala Interview Question

What is the Difference between HTML5 and HTML?

HTML5 HTML
HTML5 has high-level video and audio support. High-level video and audio support is not a part of the version and specifications in the previous HTML.
Canvas, SVG and other virtual vector graphics are supported in HTML5. In HTML, if we want to implement vector graphics, that was only possible by using third party library like VML, Silver-light, etc.
SVG and MathML can be used in text. This is not possible in HTML.
Web SQL database, application cache and web storage is used as permanent storage. Browser cache can be used as temporary storage.
HTML5 is more mobile friendly. HTML is less mobile friendly.
Doctype declaration is simple and easy. Doctype declaration is long and complicated..
Allows drag and drop effect. Does not allow drag and drop effect.
Attributes of Async, charset, and ping are available. These attributes are not available in HTML.
HTML5 support javascript to run in the background. Does not support javascript to run within the web browser.
We can draw shapes like rectangle, circle, and triangle in HTML5. It is not possible to draw shapes like rectangle, circle, triangle etc.

Objective C Interview Questions

HTML History

Since the early days of the World Wide Web, there have been many versions of HTML:

Year Version
1989 Tim Berners-Lee invented www
1991 Tim Berners-Lee invented HTML
1993 Dave Raggett drafted HTML+
1995 HTML Working Group defined HTML 2.0
1997 W3C Recommendation: HTML 3.2
1999 W3C Recommendation: HTML 4.01
2000 W3C Recommendation: XHTML 1.0
2008 WHATWG HTML5 First Public Draft
2012 WHATWG HTML5 Living Standard
2014 W3C Recommendation: HTML5
2016 W3C Candidate Recommendation: HTML 5.1
2017 W3C Recommendation: HTML5.1 2nd Edition
2017 W3C Recommendation: HTML5.2