Welcome To Snipplr


Everyone's Recent Snippets Tagged html5



1 2 3 4 5 6 Next »
The `localStorage.key` method is a great way to loop over localStorage items.
0 305 posted 11 years ago by andrew8088
this shows you how to use localStorage to have a page remember content that has been edited with the html5 attribute, contenteditble
0 345 posted 11 years ago by adriamooney
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 446 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 294 posted 11 years ago by scheurbert
Basic HTML5 layout for beginners
3 440 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 297 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 336 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 471 posted 11 years ago by vagrantradio
structure de base d'un document html5
0 367 posted 11 years ago by dojob
0 316 posted 11 years ago by angelpatxi
3 398 posted 11 years ago by adambundy
2 427 posted 11 years ago by Kerrick
1 396 posted 11 years ago by AzizLight
0 308 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 331 posted 12 years ago by Kit
HTML5 TextMate Snippet
6 404 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 661 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 240 posted 12 years ago by Sephr
1 2 3 4 5 6 Next »