1. Document Structure
New structure tags help you construct the structure of a web page semantically. Please refer to my post.
The <audio> and <video> tags are used to play media files inside the browser without plug-ins.
HTML5 provides new input elements and helps you verify your input values.
Now, CSS is the default stylesheet for HTML.
<head> <!-- HTML4 --> <link type="text/css" rel="stylesheet" href="main4.css" /> <!-- HTML5 --> <link rel="stylesheet" href="main5.css" /> </head>
In the <link> tag, you do not need to specify the “type” attribute any more.
Use <script> tag without any attributes.
- Canvas: You can draw texts, lines, circles, and images right into your web page without using plug-ins such as “Flash”.
- Offline Web Applications: What about the offline access to the Web?
- Web Storage: You can save a bit of small data such as preferences, or shopping cart items. It is browser-based and not cookies.
- Geolocation: You can make your pages location-aware to know where user are.
- Web Workers: You can run several scripts concurrently in the background, so your UI remains responsive.
- File API: handles file uploads and file manipulation
- Indexed DB: an indexed hierarchical key-value store (formerly known as WebSimpleDB)
- Microdata: nests metadata within existing content on web pages. Search engines, web crawlers, and browsers can extract Microdata and use it to provide a richer browsing experience for users.
- Web Sockets: provides full-duplex communications channels over a single TCP connection
You can use http://caniuse.com/ to check which browser supports which feature.