Comment In Html Snippets


Add Non-Breaking Space on Title to Prevent Widows

05 August, 2013   

CSS code for Curly Quotes

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.

In this example we will select everything in our table "example" and put it into a nicely formatted HTML table.

14 March, 2012   

To find the solutions to the 8 queens puzzle. The puzzle asks "How can you place 8 Queens on a chess board so that no Queen can attack any other queen?" By: Richard Lindsay

21 January, 2016   

CSS example for Sticky Fixed Footer

14 May, 2014   

Html Code example for hCalendar

30 August, 2012   

CSS code example for stylish submit buttons

Use this in the <head> of your HTML files.

13 April, 2014   

CSS code to center image in div with overflow hidden

13 November, 2014   

Here is a form that asks for Name and Email address. When the form is submitted the Email address is verified first. If you put in a Name and a correct Email address, an anchor element is displayed allowing the user to download the file, two cookies are created storing the Name and Email address. If the user goes BACK in the browser and tries...

09 June, 2014   

JavaScript code for click to edit a table cell inline.

05 January, 2012   

A simple dashed border effect by CSS

Note that to add a new column to the query, just add in an input box to the HTML, the PHP generates an insert for each field.

27 August, 2011   

The <frame> tag defines one particular window (frame) within a frameset. In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The document "frame_a.htm" is put into the first column, and...

09 July, 2012   

Place the following JavaScript code within the <BODY> of your web page.

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.

This example code showing how to use PHP Functions to clean User Input

19 July, 2012   

PHP code to encode any email address into HTML entities so that spam bots do not find it

30 January, 2013   

jQuery code example for animated scroll