Welcome To Snipplr


Everyone's Recent Snippets Tagged html5



1 2 3 4 5 6 Next »
HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will...
3 466 posted 11 years ago by jonkemp
Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element. Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.
0 311 posted 11 years ago by scheurbert
Basic HTML5 layout for beginners
3 473 posted 11 years ago by crispunk
[via rtcrm] Since HTML5 is getting [more](http://www.brucelawson.co.uk/tests/html5-elements.html) [attention](http://adactio.com/journal/1540/) by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as...
0 314 posted 11 years ago by mennyj
forms part of our Calibre Remote. an alternate gui for calibre ebooks content-server. this is the html files that contains the basic layout and brings it all together.
0 352 posted 11 years ago by minky
HTML 5 provides some great new features for web designers who want to code readable, semantically-meaningful layouts. However, support for HTML 5 is still evolving, and Internet Explorer is the last to add support. In this tutorial, we’ll create a...
3 505 posted 11 years ago by vagrantradio
structure de base d'un document html5
0 377 posted 11 years ago by dojob
0 329 posted 11 years ago by angelpatxi
3 424 posted 11 years ago by adambundy
2 447 posted 11 years ago by Kerrick
1 414 posted 12 years ago by AzizLight
0 330 posted 12 years ago by rareyman
Video For Everybody is a great way to use the `<video>` tag with fallbacks for QuickTime or Flash for users with old browsers, but it requires that every video be encoded twice (once for the MP4 and once for the OGG). This code (which requires Moo...
0 350 posted 12 years ago by Kit
HTML5 TextMate Snippet
6 431 posted 12 years ago by mrjohnsly
All credit to Richard Clarke, code taken from HTML 5 Doctor. Posted here for quick access from TextMate.
6 707 posted 12 years ago by mrjohnsly
Use this to extract an HTML5 origin from a URI. $1 is the origin. The square brackets are there to support IPv6 addresses. Example: var html5OriginRegex = /^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/; "http://www.google.com:42/foo/bar/...
0 253 posted 12 years ago by Sephr
1 2 3 4 5 6 Next »