HTML5 is the fifth version of HTML and is a core technology markup language of internet that is used for structuring and presenting the content for WWW.
The aim of HTML5 is to improve the language by support of latest multimedia while keeping it user friendly and easily readable by humans and consistently understood by computers and devices such as web browsers parser, etc.
HTML5 is enriched with advance features which makes it easy and interactive for designer/developer and users.
HTML5 allows you to play a video and audio file.
HTML5 allows you to draw on a canvas.
HTML5 facilitate you to design better forms and build web applications that work offline.
The most important reason to use HTML 5 is, we believe it is not going anywhere. It will be here to serve for a long time according to W3C recommendation.
The DOCTYPE declaration for HTML5 is very simple:
The charset (character encoding) declaration is also very simple:
<title>Title of the document</title>
Content of the document...
The most important new HTML5 elements are:
You will learn a lot more about HTML5 new elements in the next chapter.
The most important new HTML5 API's are:
You will learn a lot more about HTML5 API's later in this tutorial.
The following HTML elements have been removed in HTML5:
|Removed Element||Use Instead|
|<applet>||<embed> or <object>|