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).
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:
- HTML 5 has better error handling capability.
- In HTML 5 these are more markups to replace scripting.
- HTML5 is device independent.
- 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:
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.
In HTML5 DOCTYPE is required to enable standards mode for HTML
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