X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML5 Introduction



HTML5 is the latest HTML standard. CSS3 is the latest CSS standard.


HTML5

HTML5

Semantic Elements
New Input Types
HTML Graphics
HTML Video / Audio
HTML Geolocation
HTML Drag / Drop
HTML Local Storage
HTML Web Workers

CSS3

New Selectors
New Properties
Animations
2D/3D Transformations
Rounded Corners
Shadow Effects
Downloadable Fonts

What is New in HTML5?

The DOCTYPE declaration for HTML5 is very simple:

<!DOCTYPE html>

The character encoding (charset) declaration is also very simple:

<meta charset="UTF-8">

HTML5 Example:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
</head>

<body>
Content of the document......
</body>

</html>

Note 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>.

Note 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 Cash
  • HTML Web Workers
  • HTML SSE

Note Local storage is a powerful replacement for cookies.


Elements Removed in HTML5

The following HTML4 elements has been removed from HTML5:

  • <acronym>
  • <applet>
  • <basefont>
  • <big>
  • <center>
  • <dir>
  • <font>
  • <frame>
  • <frameset>
  • <noframes>
  • <strike>
  • <tt>

Note In the chapter HTML5 Migration, you will learn how to easily migrate from HTML4 to HTML5. 




Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook