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. It walks hand in hand with CSS3, the latest CSS standard.


HTML5

HTML5 Elements
HTML5 Semantic
HTML5 Input types
HTML5 Graphics
HTML5 Video / Audio
HTML5 Geolocation
HTML5 Drag / Drop
HTML5 Local Storage
HTML5 Web Workers
HTML5

CSS3

CSS3 Borders
CSS3 Backgrounds
CSS3 Gradients
CSS3 Fonts
CSS3 2D Transforms
CSS3 3D Transforms
CSS3 Transitions
CSS3 Animations
CSS3 Columns
CSS3 User Interface

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

Note Local storage is a powerful replacement for cookies.


Elements Removed in HTML5

The following HTML4 elements have 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