HTML5 Introduction
What is New in HTML5?
The DOCTYPE declaration for HTML5 is very simple:
The character encoding (charset) declaration is also very simple:
meta charset="UTF-8"
HTML5 Example:
html head meta charset="UTF-8" title Title of the documentbody
Content of the document......
The default character encoding in HTML5 is UTF-8.
New HTML5 API's (Application Programming Interfaces)
The most interesting new API's in HTML5 are:
HTML GeolocationHTML Drag and DropHTML Local StorageHTML Application CacheHTML Web WorkersHTML SSE
Tip: HTML Local storage is a powerful replacement for cookies.
New HTML5 Elements
The most interesting new HTML5 elements are:
New semantic elements like header, footer, article, and section.
New attributes of form elements like number, date, time, calendar, and range.
New graphic elements: svg and canvas.
New multimedia elements: audio and video.
Removed Elements in HTML5
The following HTML4 elements have been removed in HTML5:
Leave HTML5 Introduction to:
Read more #html5 posts
Best Posts From Md Robiul Islam
We have not curated any of rabiul21's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.