alrukus
10-29-2003, 06:52 PM
Hey. I am a newbie to html. Could someone tell me how I could turn the following html code into like a working form? I have all the buttons and boxes I need and the cgi script to handle it i just don't know hwo to like make it work. The code is below. Thanks so much...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Car Info</title>
</head>
<body bgcolor="#FFFFFF">
<div align="center"><center>
<table border="0" cellpadding="4" width="500" cellspacing="0">
<tr>
<td width="100%" bgcolor="#000000" height="21" colspan="4"><font color="#FFFFFF"
face="Tahoma">Your Email: </font><input type="text" name="email" size="20"
style="background-color: rgb(255,255,255); color: rgb(0,0,0)"></td>
</tr>
<tr>
<td width="100%" bgcolor="#CCCCCC" height="21" colspan="4"><font face="Tahoma"
color="#000000">Select the car(s) you are intrested in</font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Audi</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Bmw</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Cadaliac</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Chevy</small></font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Dodge</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Datsun</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Ford</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> GMC</small></font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Honda</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Infiniti</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Mitsubishi</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Nissan</small></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#CCCCCC" height="21" colspan="4"><font face="Tahoma"><p
align="center"></font><input type="submit" value="Submit" name="B1"></td>
</tr>
</table>
</center></div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Car Info</title>
</head>
<body bgcolor="#FFFFFF">
<div align="center"><center>
<table border="0" cellpadding="4" width="500" cellspacing="0">
<tr>
<td width="100%" bgcolor="#000000" height="21" colspan="4"><font color="#FFFFFF"
face="Tahoma">Your Email: </font><input type="text" name="email" size="20"
style="background-color: rgb(255,255,255); color: rgb(0,0,0)"></td>
</tr>
<tr>
<td width="100%" bgcolor="#CCCCCC" height="21" colspan="4"><font face="Tahoma"
color="#000000">Select the car(s) you are intrested in</font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Audi</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Bmw</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Cadaliac</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Chevy</small></font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Dodge</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Datsun</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Ford</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> GMC</small></font></td>
</tr>
<tr>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Honda</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Infiniti</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Mitsubishi</small></font></td>
<td width="25%" bgcolor="#000000" height="21"><font color="#FFFFFF" face="Tahoma"><small><input
type="checkbox" name="C1" value="ON" style="background-color: rgb(0,0,0)"> Nissan</small></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#CCCCCC" height="21" colspan="4"><font face="Tahoma"><p
align="center"></font><input type="submit" value="Submit" name="B1"></td>
</tr>
</table>
</center></div>
</body>
</html>