Difference between html4 and html5

724 views 7 slides Dec 28, 2020
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. ... HTML describes the structure of a web page semantically and originally included cues for the appearance of the document. HTML elements are the building blocks of HTML pages.
...


Slide Content

Part 2 HTML 4 HTML 5 Vs

HTML 4 Vs HTML 5 DOCTYPE is much longer HTML4 DOCTYPE is much longer HTML5 <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> <!DOCTYPE html>

HTML 4 Vs HTML 5 Does not support audio and video without flash player HTML4 supports audio and video controls with the use of <audio> and <video> HTML5

HTML 4 Vs HTML 5 Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash HTML4 Vector graphics is integral part e.g. SVG and canvas HTML5

HTML 4 Vs HTML 5 impossible to get true GeoLocation of user  HTML4 JS GeoLocation API helps identify location of user HTML5

HTML 4 Vs HTML 5 Browser cache can be used as temporary storage  HTML4 Application Cache, Web SQL database and Web storage is available as client side storage. HTML5

HTML 4 Vs HTML 5 Does not allow JavaScript to run in browser.  HTML4 Allows JavaScript to run in background. HTML5