Using Forms in HTML (Sample Webpage #1)

This is a Simple web page created using forms made mainly for you to copy and paste it and play around with the tags so that you can learn a bit more about HTML. Be bold to delete, edit and replace stuff in this code. Thats the way to go.

This is a form to take info about people participating in an interview. This could be used as an online registration form or anything you want it to be called.

Try it out!..

<html>

<head>
<title>Off Campus Entry Form</title>
</head>
<body>
<h1>
Off Campus Entry Form
</h1>

<form name=”input” action=”index.html” method=”get”>
Name: <br />
First name: <input type=”text” name=”firstname” /><br />
Last name: <input type=”text” name=”lastname” /><br />
<br/>
Gender: <br />
<input type=”radio” name=”sex” value=”male” /> Male<br />
<input type=”radio” name=”sex” value=”female” /> Female<br />
<br/>
Email id: <input type=”text” name=”email” /><br />
<br/>
Languages Known:<br/>
<input type=”checkbox” name=”lang” value=”C” /> C<br />
<input type=”checkbox” name=”lang” value=”C++” /> C++<br />
<input type=”checkbox” name=”lang” value=”java” /> Java<br />
<input type=”checkbox” name=”lang” value=”.net” /> .Net<br />
<br/>
Field:<br/>
<input type=”radio” name=”field” value=”arts” /> Arts and Science<br />
<input type=”radio” name=”field” value=”engg” /> Engineering<br />
<br/>

Qualification:<br/>
<input type=”radio” name=”qualification” value=”ug” /> Under Graduate<br />
<input type=”radio” name=”qualification” value=”pg” /> Post Graduate<br />
<br/>

<input type=”submit” value=”Submit” />
</form>
</body>

</html>

Post your doubts.

Thank you.

Joys

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s