Welcome To Snipplr
Everyone's Recent Snippets Tagged html5
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
//#########################################################################
//
// *taken from http://www.catswhocode.com/blog/mastering-html5-prefetching
//
//#########################################################################
0
1522
posted 14 years ago by rydaly
This is just a simple explanation of how to use the HTML5 local storage in javascript. The link has a more thorough explanation and an example for those interested. The examples to save, retrive, and clear are marked below.
0
1346
posted 14 years ago by FatFolderDesigner
The link has a full explanation with more detail about how this all works, as well as an example of it in action. This is just going to be the short-short version. If you have any questions check that out, if you still have questions then leave a com...
0
1250
posted 14 years ago by FatFolderDesigner
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0
2577
posted 14 years ago by luizlopes
The html5.js and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them - so it can't sit in the footer of the page, i.e. below the elements in question).
0
2243
posted 14 years ago by blantonious
The email type will pop up a tool tip if an invalid email address structure is not entered.
0
1221
posted 14 years ago by blantonious
The type is no longer needed in script and link tags in HTML5
0
1215
posted 14 years ago by blantonious
You can keep your old version
<html> but in HTML5 you can shorten it.
0
1072
posted 14 years ago by blantonious
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0
1103
posted 14 years ago by resting
This is a simple trick that allows you to design the html5 search input like another input.
0
1043
posted 14 years ago by fabricelejeune
Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
0
1337
posted 14 years ago by vagrantradio
this has place for external styles and the css start for a button sprite. Also has some comments about new html5 markup.
0
2133
posted 14 years ago by gamblelyn
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0
1344
posted 14 years ago by benjaminpearson