HTML4

It didn’t support audio and video without the use of flash player support.

Vector graphics are possible in HTML with the help of various technologies such as VML, Silver-light, Flash, etc.

Not possible to draw shapes like circles, rectangles, triangles etc.

Doctype declaration is too long and complicated.

It can not handle inaccurate syntax.

It does not allow drag and drop effects.

Elements like nav, header were not present.

HTML5

It supports audio and video controls with the use of <audio> and <video> tags.

Vector graphics is additionally an integral part of HTML5 like SVG and canvas

HTML5 allows to draw shapes like circles, rectangles, triangles etc.

Doctype declaration is quite simple and easy.

It is capable of handling inaccurate syntax.

It allows drag and drop effects.

New elements for web structure like nav, header, footer etc are present.

--

--

New semantic and structural elements

<article></article>
<footer></footer>
<header></header>
<nav></nav>
<details></details>
<dialog></dialog>
<figcaption></figcaption>
<figure></figure>
<aside></aside>
<main></main>
<mark></mark>
<meter></meter>
<progress></progress>
<section></section>
<summary></summary>
<time></time>

New form elements

<datalist></datalist>
<output></output>

New Media Elements

<video></video>
<audio></audio>
<embed>
<source>

Vector Graphics

<canvas></canvas>
<svg></svg>

New input Types

color
date
datetime
datetime-local
email
month
number
range
search
tel
time
url
week

--

--