Slide 3.12: XHTML validataion
Slide 3.14: HTML5 canvas
Home

HTML5


HTML5 is the new standard for HTML. The previous version of HTML, HTML 4.01, came in 1999. The Web has changed greatly since then. HTML5 is still a work in progress, but major browsers support many of HTML5 elements and APIs. HTML5 is a Candidate Recommendation of W3C since December 17, 2012. Some rules of HTML5 include
Minimum HTML5 Document
A simple HTML5 document is given on the right, with the minimum of required tags. The <!doctype> declaration must be the very first thing in your HTML document, before the <html> tag.
 <!DOCTYPE html>
 <html>
  <head>
   <meta charset="UTF-8">
   <title>Title of the document</title>
  </head>
  <body>
   Content of the document......
  </body>
 </html>

HTML5—New Features
Some of the most interesting new features in HTML5:
Demonstration
The following demonstration shows how the HTML5 script is displayed on the Web.