Sizzling HTML Jalfrezi's Tip of the Day 
  - Making a form button link to a page -  

It's easy to make a simple form button link to a web page (or in fact any other object with a URL, such as a sound or image). You simply use the 'get' METHOD of the <FORM> element and include a 'submit' button.

As you can see from the example below, you can also include a TARGET attribute to load the page in a specified window or frame.

example of code

<FORM METHOD="get" ACTION="mclaren.htm" TARGET="mainarea">
<INPUT TYPE="submit" VALUE="Go to McLaren F1 Resource">

how it renders

previous tips of the day