CSS microproject
CSS microproject
ABSTRACT :-
Web forms are one of the main points of interaction between a user
and a website or application. Forms allow users to enter data, which is
generally sent to a web server for processing and storage (see Sending
form data later in the module), or used on the client-side to
immediately update the interface in some way (for example, add
another item to a list, or show or hide a UI feature).
o Form name tag is used to define the name of the form. The name
of the form here is "Login_form". This name will be referenced in
the JavaScript form.
o The action tag defines the action, and the browser will take to
tackle the form when it is submitted. Here, we have taken no
action.
o The method to take action can be either post or get, which is used
when the form is to be submitted to the server. Both types of
methods have their own properties and rules.
o The input type tag defines the type of inputs we want to create in
our form. Here, we have used input type as 'text', which means
we will input values as text in the textbox.
o Net, we have taken input type as 'password' and the input value
will be password.
o Next, we have taken input type as 'button' where on clicking, we
get the value of the form and get displayed.
Source Code
<Html>
<head>
<title>
Registration Page
</title>
</head>
<body bgcolor="DarkTurquoise">
<br>
<br>
<form>
<label>
Course :
</label>
<select>
<option value="Course">Choose Course</option>
<option value="Diploma">Diploma</option>
<option value="BCA">BCA</option>
<option value="BBA">BBA</option>
<option value="B.Tech">B.Tech</option>
<option value="MBA">MBA</option>
<option value="MCA">MCA</option>
<option value="M.Tech">M.Tech</option>
</select>
<br>
<br>
<label>
Gender :
</label><br>
<input type="radio" name="male"/> Male <br>
<input type="radio" name="female"/> Female <br>
<input type="radio" name="other"/> Other
<br>
<br>
<label>
Phone No :
</label>
<input type="text" name="country code" value="+91"
size="2"/>
<input type="text" name="phone" size="10"/> <br> <br>
Address
<br>
<textarea cols="80" rows="5" value="address">
</textarea>
<br> <br>
Email:
<input type="email" id="email" name="email"/> <br>
<br>
Password:
<input type="Password" id="pass" name="pass"> <br>
<br>
Re-type password:
<input type="Password" id="repass" name="repass"> <br>
<br>
<input type="button" value="Submit"/>
<input type="button" value="Reset"/>
</form>
</body>
</html>
OUTPUT :-
RESULT :
FUTURE SCOPE
• Google
• Notepad
• Cammond prompt
• Jdk
CONCLUSION
Forms give visitors a better experience and help you gather information
necessary to operating or growing your business. Through forms, you
can eliminate back-office paperwork, deliver better customer service,
and optimize your business in myriad ways.
Forms give visitors a better experience and help you gather information
necessary to operating or growing your business. Through forms, you
can eliminate back-office paperwork, deliver better customer service,
and optimize your business in myriad ways.