Thursday, 4 April 2019

Student Information Form Using Html

 
<html>
<head>
<style>

h3
  { 
    color:green;
  }
</style>
</head>
<body>

<h3>Student Information form  </h3>
<hr/>

<form id="form1" autocomplete="off" action="Register.php" method="GET">
Student Name:
<input type="text" name="t1" autofocus required />
<br/> <br/>
Student Age:
<input type="number" min="20" max="100" name="t2"/>
<br/> <br/>
Email ID:
<input type="email" name="t3"/>
<br/> <br/>
Pin code:
<input type="text" name="t4" pattern="\d{6}"/>
<br/> <br/>
Join Date:
<input type="date" name="t5" />
<br/> <br/>
<input type="submit" value="Register"/>
</form>

are you agree terms and conditions?
<input form="form1" type="checkbox" name="ck1" value="yes" />
</body>
</html>

No comments:

Post a Comment