Thursday 30 May 2013

CREATING A DONATION FORM USING HTML

SAMPLE HTML DONATION FORM CODE

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DONATIONS</title>
</head>

<body>
<h1> DONATIONS</h1><br/>

  <h1>Make your donations here:</h1><br>
  <table>
  <form name="myForm" action="" method="post">
  <tr>
  <td>First name: </td>
  <td><input type="text" size="30" name="firstname"  ></td>
  </tr>
   <tr>
   <td> Last name: </td>
   <td><input type="text" name="lastname" size="30" ></td>
   </tr>
    <tr>
    <td>Country:</td>
    <td><input type="text" name="country" size="30" ></td>
    </tr>
    <tr>
   <td> E-mail:</td>
   <td><input type="text" name="email" size="30"  ></td>
   </tr>
<tr>
<td>Ammount:</td>
<td><input  type="text" name="ammount" size="30" ></td>
</tr>

<tr>
<td colspan="2" style="text-align: center;"><input type="submit" value="donate"></td></tr></table>

</form>
<h1>Thank you!</h1>


</body>
</html>

No comments:

Post a Comment

sessions

How Session Works in Web Applications and Why We Need It In context of web applications, a session is a bucket that holds some information o...