Pages

Wednesday 14 January 2015

How create a Form in HTML

<html>
<head>
<title>This is the Form Example</title>
</head>
<body>
<form method= post action=process.html>
 Enter the Student Name:
<input type ="text" size=20 name="sname"/> <br/>
Enter the Student Address:
<textarea name="saddress" cols="10" rows="15"></textarea><br/>
 Enter the Password:
<input type ="password" size=20 name="spass"> <br/>
 Enter the Student Hobbies: cricket
<input type ="checkbox"  name="shobbies" checked="checked">
badminton
<input type ="checkbox"  name="shobbies" checked="checked"><br/>

Select  Student Gender:
Male <input type="radio" value="male" checked="checked" />
Female<input type="radio" value="female" checked="unchecked" />
 </from>
</body>
</html>

0 comments: