Welcome To Snipplr
Everyone's Recent HTML Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The easiest way to create vertical text is to use ems in addition with a space between the letters of the word that should be displayed verticaly
1
644
posted 12 years ago by jkandei
This is an example of what a typical description meta tag looks like.
0
419
posted 12 years ago by goatboy91587
First, we select the link with an ID of #some_id, and prevent the default event from occurring (which would be to follow the link and load the target page). We grab the original destination of the link (by retrieving the href attribute of the link we...
3
428
posted 12 years ago by jmsrie
Well almost ;) This should really cover most any browser out there. If no HTML5 support will fall back to flash, so for this example Flowplayer is required, but any flash video would work.
also FP will play many different formats not just flv.
5
680
posted 12 years ago by myke
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
12
905
posted 12 years ago by vagrantradio
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1
748
posted 12 years ago by f6design
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
707
posted 12 years ago by f6design
This just replaces the default value of a form element. Then it bring it back if you click away.
1
475
posted 13 years ago by gera3d