15. SYNTAX & SEMANTICS
SYNTAX
No need to self-close tags:
<img src="nice.jpg" />
<img src="nice.jpg">
No need to wrap attributes in quotations:
<img src="nice.jpg">
<img src=nice.jpg>
Case insensitive:
<IMG SRC=nice.jpg>
<img src=nice.jpg>
<iMg SrC=nice.jpg>
17. SYNTAX & SEMANTICS
the semantic web
NEW SEMANTIC ELEMENTS
Tim Berners- Lee (http://en.wikipedia.org/wiki/Tim_Berners-Lee)
18. SYNTAX & SEMANTICS
MOST POPULAR CLASS NAMES 2009
copyright
header
style2
title
content
text
msonormal
style1
menu
footer
0 50000 100000 150000 200000
http://devfiles.myopera.com/articles/572/idlist-url.htm
19. SYNTAX & SEMANTICS
MOST POPULAR ID NAMES 2009
autonumber1
layer1
menu
table1
main
container
logo
header
content
footer
0 50000 100000 150000 200000 250000 300000
http://devfiles.myopera.com/articles/572/idlist-url.htm
26. GRAPHICS
CANVAS
HTML5 element that allows for dynamic,
scriptable rendering of 2D shapes and bitmaps
Immediate mode rendering
Simple API: 45 methods, 21 attributes
Remember <canvas> is dumb