14. As XHTML
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
MUST be application/xhtml+xml or application/xml
<noscript>Not in XHTML</noscript>
26. if (window.addEventListener) {
/*
Works well in Firefox and Opera with the
Work Offline option in the File menu.
Pulling the ethernet cable doesn't seem to trigger it
*/
window.addEventListener("online", isOnline, false);
window.addEventListener("offline", isOffline, false);
}
else {
/*
Works in IE with the Work Offline option in the
File menu and pulling the ethernet cable
*/
document.body.ononline = isOnline;
document.body.onoffline = isOffline;
}
64. Robert Nyman
robertnyman.com/speaking/
robertnyman.com/html5/
Twitter: @robertnyman
Pictures:
Star Wars Awesome: http://jacobcharlesdietz.com/#/awesome/ Internet hole: http://cheezburger.com/View/3194058752
Robocop: http://www.meh.ro/2010/04/01/murphy-as-robocop/ History: http://animatedtv.about.com/od/fgmultimedia/ig/-Family-Guy--
Bruce Willis: http://www.starsjournal.com/3192/bruce-willis-is-being-sued-for-4- Pictures/Griffin-Family-History.htm
million-dollars.html Geolocation: http://www.datadial.net/blog/index.php/2008/09/22/the-
Swedish flag: http://www.olssonfoto.se/JAlbum/SGP%202008%20Ullevi/slides/Svenska definitive-guide-to-website-geo-location/
%20flaggan.html Canvas: http://www.ioffer.com/c/Drawings-1000407
Euro Coin: http://accidentaldong.blogspot.com/2009/10/euro-uh-oh.html Oriental studies: http://www.swollenpickles.com/2007/01/29/phallic-logo-
Firefox does good: http://www.flickr.com/photos/intothefuzz/5577418445/in/ awards/
set-72157626401344080 3D apple: http://3dst.de/typo3temp/pics/974e4144fc.jpg
George W Bush fail 1: http://freetraveler.net/pictures/2.09.06/fun/1.jpg Go where I've never been: http://musicisart.ws/diane-arbus/
George W Bush fail 2: http://blogs.warwick.ac.uk/images/akyrtzoglou/2005/06/07/ Anything is possible: http://www.elektrodrop.com/2009/12/straight-out-of-
g2.jpg china/?quick_view=1
George W Bush fail 3: http://blogs.warwick.ac.uk/images/akyrtzoglou/2005/06/07/ Super Mario Video: http://www.archive.org/details/Mario1_507
gb3.jpg
Storage fail: http://failfun.com/funny-pictures/gangsta-fail/
Cookie monster: http://honestviewsfromhonestman.blogspot.com/2009/09/cookie-
monster.html
You suck: http://www.crunchgear.com/2009/04/22/gadgets-sucks/
65. We can’t change history, but we can change the future.
Be nice to each other.