Links using Buttons

| Using <INPUT> | Using <FORM> | Using <SCRIPT> | Using an Image |

Buttons using only an input tag
In the BODY:

<INPUT
 TYPE="button"
 VALUE="TSTC Webmaster Technology"
 OnClick=window.location.href="http://webtech.tstc.edu">

Results:

To the Top


Buttons using the Form's ACTION variable:
In the BODY:

<FORM METHOD="Get" ACTION="http://howdyyall.com/HTML">
<INPUT TYPE="submit" VALUE="Go to the HTML Page">
</FORM>

Results:

To the Top


Buttons using scripts and forms:
In the HEAD:

<SCRIPT LANGUAGE="JavaScript">

function goToSite1() { window.location = "http://webtech.tstc.edu"; }
function goToSite2() { window.location = "http://www.yahoo.com"; }

</script>

In the BODY:

<FORM>
<INPUT TYPE="button" VALUE="Go To Webtech" onClick="goToSite1()">
</FORM>

<FORM>
<INPUT TYPE="button" VALUE="Go To Yahoo" onClick="goToSite2()">
</FORM>

Results:

To the Top


Buttons using an Image
In the BODY:

<A HREF="http://webtech.tstc.edu/rcozby/WebResources">
<IMG SRC="TipsButton.gif" BORDER="0">
</A>

Results:

This is actually an image of a button (TipsButton.gif)
To the Top