Tag Archives: Programming Language

Advantages of HTML 5 over HTML

 HTML and HTML 5

HTML stands for Hyper Text Markup Language, this is the first markup language used to create web pages. Here some text are highlighted with a like to some another web page. This highlighted text is called hyper text, and the whole language is called hyper text markup language.  It is written in the form of tags enclosed in angle brackets, example as <html>.

Generally HTML tags come in pairs like <HTML> and </HTML>, BUT some tags are different those tags represent empty elements, so are unpaired, for example <img>. The first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags).

 

HTML 3D Illustration

 

HTML5 is the latest version of HTML programming language. So many demerits of HTML are clarified in HTML5. Some of the features of HTML5 are:

 

  1. In HTML5 many new features should be used on HTML, CSS, DOM, and JavaScript. That reduces the need for external plugins (like Flash and etc).
  2. HTML 5 has better error handling capability.
  3. In HTML 5 these are more markups to replace scripting.
  4. HTML5 is device independent.
  5. In HTML5 the development process should be visible to the public in a very clear way.

So because of these benefits HTML5 is more beneficial than HTML.

Some practical differentiation between HTML and HTML5 are:

 

HTML

In HTML DOCTYPE is much longer, it is based on SGML-based.

In HTML audio and video are not part of specification.

In HTML It is almost impossible to get true Geo Location of user browsing any website especially if it comes to mobile devices.

mw-630-flash-html5

 

HTML 5

In HTML5  DOCTYPE is required to enable standards mode for HTML

documents.

In HTML 5 Audio and Videos are integral part of specifications e.g. and tags.

In HTML Vector graphics are integral part e.g. SVG and canvas.

 

So these are the differentiation between HTML and HTML5