HTML5 is the latest HTML standard. It walks hand in hand with CSS3, the latest CSS standard.
What is New in HTML5?
The DOCTYPE declaration for HTML5 is very simple:
The character encoding (charset) declaration is also very simple:
<title>Title of the document</title>
Content of the document......
|The default character encoding in HTML5 is UTF-8.|
New HTML5 Elements
The most interesting new elements are:
New semantic elements like <header>, <footer>, <article>, and <section>.
New form controls like number, date, time, calendar, and range.
New graphic elements: <svg> and <canvas>.
New multimedia elements: <audio> and <video>.
|In the chapter HTML5 Support, you will learn how to "teach" old browsers to handle HTML5 semantic.|
New HTML5 API's (Application Programming Interfaces)
The most interesting new API's are:
- HTML Geolocation
- HTML Drag and Drop
- HTML Local Storage
- HTML Application Cache
- HTML Web Workers
- HTML SSE
|Local storage is a powerful replacement for cookies.|
Elements Removed in HTML5
The following HTML4 elements have been removed from HTML5:
|In the chapter HTML5 Migration, you will learn how to easily migrate from HTML4 to HTML5.|
Thank You For Helping Us!
Your message has been sent to W3Schools.