PDA

View Full Version : - Crys - Whats wrong with my code???



aster01d!!!!
28-03-2006, 12:34 PM
I am trying to make a contact form for my site and i am a bit of a HTML noob so if anyone could aadvise my with the form that would be great.

What keeps happening is the code underneath the bit for contact keeps appearing in the comment box :'(
also my send and reset button has dissapeared.
<html>
<body bgcolor="#D2F2F5">

<p>
<font size="2" face="Verdana">
<html>
<body>
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
<p>
<font size="2" face="Verdana">
<font size="2" face="Verdana">
Habbo Name:<br>
<input type="text" name="name"<br>
<font size="2" face="Verdana">
<br> Email Adress:<br>
<input type="text" name="mail"
size="20"><br>
Comment:<br>
<textarea rows="5" cols="20">

<input type="submit" value="Send">
<input type="reset" value="Reset">

</form>
</body>
</html>

:Edzy
28-03-2006, 04:05 PM
You Missed Out </textarea> Simple Mistake Lol


<html>
<body bgcolor="#D2F2F5">
<p>
<font size="2" face="Verdana">
<html>
<body>
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
<p>
<font size="2" face="Verdana">
<font size="2" face="Verdana">
Habbo Name:<br>
<input type="text" name="name"<br>
<font size="2" face="Verdana">
<br> Email Adress:<br>
<input type="text" name="mail"
size="20"><br>
Comment:<br>
<textarea rows="5" cols="20">
</textarea><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
</body>
</html>

Also Its Best Not To Use

mailto:

nets
28-03-2006, 04:06 PM
It wont work anyway, as you don't have a form handler.

:Edzy
28-03-2006, 05:52 PM
thats what i meant lol:P u need a script for it to follow instead of mailto: tou want something like follow.php

Want to hide these adverts? Register an account for free!