Html5&css - Student Regist - Project
Html5&css - Student Regist - Project
Malpani
College.
CERTIFICATE
INDEX
Sr. Name
No.
1. Rational
2. Aim
3. Course outcomes
Achieved
4. Literature Review
5. Actual methodology
followed
6. Actual Resource Used
7. Outputs of Micro-project
8. Skill Developed
9. Applications of Micro-
project
1.0 Rationale:
A student registration form is used to register students for a course.
… Students can provide their contact information, detail their
academic history, list extracurriculars and additional interests,
and even pay registration fees if required.A registration form is
a list of fields that a user will input data into and submit to a
company or individual. There are many reasons why you
would want a person to fill out a registration form. Companies
use registration forms to sign up customers for subscriptions,
services, or other programs or plans.
2.0 Aim:
To develop a web page using HTML code and CSS for
students registration form for keeping the all important
documents and information about the students in
admission form.
Syntax:
<form action = “URL” method = “GET or POST”>
Form elements like submit or reset buttons, input, text area etc.
</form>
Example of Registration Form in HTML:
Let’s see an example code excerpt for a simple HTML form. The form
shown below is a simple Log In Form and has minimal control
elements.
Code:
<form name=”regForm”>
<label>Username: <input type=”text” id=”username”></label>
<label>Password: <input type=”password” id=”pwd”></label>
<input type=”submit” class=”login” value=”Log In”
onclick=”validation()” formtarget=”_blank”>
</form>
As shown above, this Log In Form has two text boxes and a
submit button labeled as Log In. It’s a simple HTML form that
we have created, and the data entered is decided to be printed
after the user submits it. The ‘react’ part of an HTML form is
handled by our javascript function, which is called with the
help of an attribute called ‘onclick’ added to the submit button.
Output:
Output:
The above-discussed form is a simple login form which is
accepting only two values, username and password and is
submitted. Here we are simply printing the values, but
normally in the processing part, one can compare ‘log in’
details with the saved values in a database and show a
‘successful login’ message.
Code:
StudentRegistration.html
<html>
<head>
<script type=”text/javascript” src=”validate.js”></script>
</head>
<body>
<form action=”#” name=”StudentRegistration”
onsubmit=”return(validate());”>
<tr>
<td colspan=2>
<center><font size=4><b>Student Registration
Form</b></font></center>
</td>
</tr>
<tr>
<td>Name</td>
<td><input type=text name=textnames id=”textname”
size=”30”></td>
</tr>
<tr>
<td>Father Name</td>
<td><input type=”text” name=”fathername” id=”fathername”
Size=”30”></td>
</tr>
<tr>
<td>Postal Address</td>
<td><input type=”text” name=”paddress” id=”paddress”
size=”30”></td>
</tr>
<tr>
<td>Personal Address</td>
<td><input type=”text” name=”personaladdress”
Id=”personaladdress” size=”30”></td>
</tr>
<tr>
<td>Sex</td>
<td><input type=”radio” name=”sex” value=”male”
size=”10”>Male
<input type=”radio” name=”sex” value=”Female”
size=”10”>Female</td>
</tr>
<tr>
<td>City</td>
<td><select name=”City”>
<option value=”-1” selected>select..</option>
<option value=”New Delhi”>NEW DELHI</option>
<option value=”Mumbai”>MUMBAI</option>
<option value=”Goa”>GOA</option>
<option value=”Patna”>PATNA</option>
</select></td>
</tr>
<tr>
<td>Course</td>
<td><select name=”Course”>
<option value=”-1” selected>select..</option>
<option value=”B.Tech”>B.TECH</option>
<option value=”MCA”>MCA</option>
<option value=”MBA”>MBA</option>
<option value=”BCA”>BCA</option>
</select></td>
</tr>
<tr>
<td>District</td>
<td><select name=”District”>
<option value=”-1” selected>select..</option>
<option value=”Nalanda”>NALANDA</option>
<option value=”UP”>UP</option>
<option value=”Goa”>GOA</option>
<option value=”Patna”>PATNA</option>
</select></td>
</tr>
<tr>
<td>State</td>
<td><select Name=”State”>
<option value=”-1” selected>select..</option>
<option value=”New Delhi”>NEW DELHI</option>
<option value=”Mumbai”>MUMBAI</option>
<option value=”Goa”>GOA</option>
<option value=”Bihar”>BIHAR</option>
</select></td>
</tr>
<tr>
<td>PinCode</td>
<td><input type=”text” name=”pincode” id=”pincode”
size=”30”></td>
</tr>
<tr>
<td>EmailId</td>
<td><input type=”text” name=”emailid” id=”emailid”
size=”30”></td>
</tr>
<tr>
<td>DOB</td>
<td><input type=”text” name=”dob” id=”dob”
size=”30”></td>
</tr>
<tr>
<td>MobileNo</td>
<td><input type=”text” name=”mobileno” id=”mobileno”
size=”30”></td>
</tr>
<tr>
<td><input type=”reset”></td>
<td colspan=”2”><input type=”submit” value=”Submit Form”
/></td>
</tr>
</table>
</form>
</body>
</html>
Applications :
• In this project we have learn that how to create a code for
different purposes
• In this project we have code for student registration which gave
us more experience about our Subject
• Here we have used different Tags with many attributes with a
little bit more knowledge about Web page designing with HTML
• HTML Forms are required, when you want to collect some data
from the site visitor. For example, during user registration you
would like to collect information such as name, email address,
credit card, etc.
• A registration form is a list of fields that a user will input data
into and submit to a company or individual.