as

Design web pages using HTML that will contain online admission forms.

Design web pages using HTML that will contain online admission forms. 


Code :-
<html>
<head>
 <title>Online Adminssion</title>
</head>
<body bgcolor="cyan")>

 <h1><b><marquee>The College Of Information And Technology</marquee></b></h1>
 <center>
 <table id="regtab" bgcolor="yellow">
 <form id="frm" method="post" action=""></form>
 <tr>
  <td colspan="2" align="center">
  <h2 id="rgh">Admission form</h2>
  </td>
 </tr>

 <tr>
  <td id="td">First Name</td>
  <td>:- <input id="f" name="f" type="text"></td>
 </tr>


<tr>
  <td id="td">Middle Name</td>
  <td>:- <input id="m" name="m" type="text"></td>
 </tr>

<tr>
  <td id="td">Last Name</td>
  <td>:- <input id="l" name="l" type="text"></td>
</tr>

<tr>
  <td id="td">Address </td>
  <td>:- <input id="a" name="a" type="textarea"></td>
</tr>
<tr>
  <td id="td">Pin Code</td>
  <td>:- <input id="pin" name="pin" type="text"></td>
</tr>
<tr>
  <td id="td">City </td>
  <td>:- <input id="c" name="c" type="text"></td>
 </tr>

 <tr>
  <td id="td">Gender</td>
  <td>:- Male<input name="gen" id="Male" type="radio">
Female<input name="gen" id="
Female" type="radio"></td>
 </tr>


<tr>
  <td id="td">Mobile No </td>
  <td>:- <input id="M" name="M" maxlength="10" type="text"></td>
 </tr>


<tr>
  <td id="td">Email</td>
  <td>:- <input id="E" name="E" type="text"></td>
 </tr>

<tr>
  <td id="td">Select Course</td>
  <td>:-
   <select id="selco">
   <option>11 th</option>
   <option>12 th</option>
   <option>Fy Bsc</option>
   <option>Sy Bsc</option>
   <option>Ty Bsc</option>
   </select>
  </td>
 </tr>


 <tr>
  <td colspan="2" align="center">
  <input value="Submit" id="sub" name="Submit"  type="button">
  <input value="Reset" id="res" name="Reset"  type="button">
  </td>
 </tr>
 <tr>
 </tr>
 </table></b>
 </center>
</body>
</html>




Output :- Click view Live Output

Information Tags or Attribute
<table> Tag 
<table> tag is used for defining a table. The table tag contains other tags that define the structure of the table. 
1. <th> Tag 
<th> tag is used for specifying a header cell or table header within a table. 
2. <td> Tag 
<td> tag is used for specifying a cell or table data within a table. 
3. <tr> Tag 
<tr> tag is used for specifying a table row within a table.

<marquee> Tag 
marquee is a scrolling piece of text displayed either horizontally across or vertically down your webpage depending on the settings. This is created by using HTML <marquees> tag. 

<form> Tag 
<form> tag is used for creating a form for user input. A form can contain textfields, checkboxes, radio-buttons and more. Forms are used to pass user-data to a specified URL. 

<input> Tag 
<input> tag is used within a form to declare an input element - a control that allows the user to input data.
1. Text Box
Text Box Control are use to get one line of user input, such as search boxes or names
  
2. Radio Button
Radio buttons are used when out of many options, just one option is required to be selected.


3. Checkbox Control
Checkboxes are used when more than one option is required to be selected. They are also created using HTML <input> tag but type attribute is set to checkbox.

4. Select Box
A select box, also called drop down box which provides option to list down various options in the form of drop down list, from where a user can select one or more options.

5. Button Controls
Button Controls There are various ways in HTML to create click buttons
1. Submit Button 
This a button that automatically submits a form. 
2. Reset Button 
This a button that automatically resets form controls to their initial values.