Showing posts with label HTML5. Show all posts
Showing posts with label HTML5. Show all posts

Thursday, January 6, 2011

HTML5 code

1. Doctype
The actual doctype for any HTML5 document is simply
<!DOCTYPE html>
2.Declare charse
<meta charset="utf-8">

http://www.w3schools.com/html5/html5_reference.asp

W3C

Browser support HTML5

semantic:HTML5 do not work with IE 7 or older
video and audio, canvas: depend on codec and must be IE9
geolocation:mobile device ok, IE9 still not yet support

Use Chrome frame like browser plug-in for most browsers (including IE6 and up) so that it is feasible to haveoffline storage, geolocation services, background JavaScript execution, and other HTML5-like features
meta http-equiv="X-UA-Compatible" content="chrome=1"

http://diveintohtml5.org/
http://introducinghtml5.com/