Tools
VS2010 SP1
intellisense
Templates for MVC.NET
My be for ASP.NET
VS HTML & SVG Extension
IE9 Dev Tools
Edit DOM
Profile JS
JS Library Modernizer
Checking HTML5 fetures
http://www.modernizr.com/downloads/modernizr-2.0.6.js
HTML5 Boilerplate
Supporting Oold Browsers (IE6 too)
HTML5 Templates
ai2Canvas
SVG
XML with vector graphics
Dynamic
Canvas
return !!document.createElement('canvas').getContext;
if (Modernizr.canvas) {
Elements
Tags
Old (Deprecated)
<applet>
new
<embed>
<acronym>
new
<abbr>
<bgsound>
new
<audio>
<big>
use css
<basefont>
use css
killed
<frame> and <frameset>
use <iframe>
use AJAX
Attributes
All attributes which can be replaced css is deprecated
Name for <img>
target for <link>
scheme for <meta>
align
font
length
Media
Audio
Video
Canvas
SVG
new Life
<ol> - ordered list
<dl> - name/value
<cite> - name of topic
<address> - contacts
<i> - now it not italy. now it "intonation"
<strong> - now it "important"
<em> - now it "marked"
<b> - just bold w/o "important"
<hr> - split text on paragraph level
new <form> elements
<input type="range" min="0" max="50" value="">
<input type="search" results="10">
<input type="color">
<input type="number">
<input type="email">
<input type="url">
<input type="tel">
<input type="date">
<input type="time">
placeholder
<input type="text" placeholder="Some text for textbox">
autofocus
new semantic elements
<article>
<section>
<header>
<footer>
<nav> - navigation block
<aside>
<mark>
Structure Of HTML5
<!doctype html>
w/o structure tags
<Head>
<Body>
<HTML>
HTML5 is any XML
LocalStorage
return 'localStorage' in window && window['localStorage'] !== null;
if (Modernizr.localstorage) {
background calculations
return !!window.Worker;
if (Modernizr.webworkers) {
off-line applications
applicationCache
return !!window.applicationCache;
if (Modernizr.applicationcache) {
geolocation
return !!navigator.geolocation;
if (Modernizr.geolocation) {
http://tools.google.com/gears/
http://code.google.com/p/geo-location-javascript/
History
return !!(window.history && history.pushState);
if (Modernizr.history) {