HTML Code Snippets

IE 6 and below get a special stylesheet with stripped down basic-but-still-nice styling

HTML code Snippet to get directions form (Google Maps) saddr = blank input field for entering START address daddr = hard-coded END address

18 May, 2017   

The <!-- --> stuff is the HTML comment.

05 March, 2017   

To add a "space" to the dock in OS X, open up and enter this. Enter it as many times as you want spaces. Error on too many, they are easy to remove. by Chris Coyier

05 December, 2016   

Stop IE Page Load Flicker Html code Snippet by Chris Coyier

15 November, 2016   

Add this to the Flash embed code

22 September, 2016   

A short javascript function to toggle checkboxes

Several hundred user notes on the str_replace page later, and we have a function that provides a variety of text highlighting options for plaintext or HTML strings.

24 May, 2015   

Shows how to access the navigator.* variables.

29 April, 2015   

Advanced "Go to Top" link using JavaScript and HTML anchors

14 May, 2014   

Html Code example for hCalendar

User below meta tag to prevent all search bots from indexing a page

21 December, 2013   

The following table has a caption. The first row and the first column contain table header cells only; other cells are data cells.

21 December, 2013   

Great page for testing the style guide for a website.

12 September, 2013   

Just use the autocomplete attribute to turn off autocomplete for Input.

12 September, 2013   

Example HTML Common DOCTYPES

01 June, 2013   

How to Embed code for Windows Media

01 June, 2013   

Example shows here how to Embed Code for Quicktime

Code example of recommended HTML5 Beginning Mark-up

06 May, 2013   

Code example for Dead Centre A DIV