HTML Forms


                        HTML Forms


 <html>

<head><title>forms</title></head>


<body>


<center>


<form action=mailto:..@gmail.com"method="post">


First name:<input type="text"name="first_name"/>

Last name:<input type="text"name="last_name"/>


<h2>Select Your Categories <h2>

<h4>Age Category <h4>


<input type="radio"name="age"value="12-15"/>12-15

<input type="radio"name="age"value="16-18"/>16-18

<input type="radio"name="age"value="19-25"/>19-25


<h4>Occupation Category <h4>


<input type="checkbox"name="s1"value="Student"/>Student

<input type="checkbox"name="s1"value="Teacher"/>Teacher 

<input type="checkbox"name="s1"value="Manager"/>Manager 


<h2>Thanks<h2>


<button type="Submit">Submit</button> 

<button type="Reset">Reset</button>


</form>

</body>

<html>




Popular posts from this blog

Some basic points about python.

Code for a dynamic website