HTML Cheat Sheet

Submit Form as link
Here is a code snippet that lets you submit a form as a link instead of a button or image. Please note that prior to IE5.5 Microsoft Internet Explorer had a problem with this.

This part goes within the "HEAD" tags

<SCRIPT language=JavaScript>

function submit() {
document.form.submit()
}

</script>

End of "HEAD" tag

<a href="/cgi-bin/process_form.pl" onClick="submit()">Submit Form</a>

Add an external style sheet to a web page

<link href="/style_sheet.css" rel="stylesheet" type="text/css">

Prevent Microsoft Windows XP from adding links to your web page

This meta tag should be added to every web page on every web site in the world. Under Windows XP, the browsers parses all the text looking for specific words. When it finds them it adds a hyperlink that looks similar to the hyperlinks in a Word document.

<meta name="MSSmartTagsPreventParsing" content="True">


[Our portfolio] [A history of Computers and Networks]
[Perl help] [ABAP help] [MySQL help]
[TCP/IP troubleshooting] [HTML help] [Feedback] [Humor]
Advertise on Golden Ink's Georgia Network


In Association with Amazon.com