Commit e8a8cd16 authored by Godavarthi Gnaneshwar's avatar Godavarthi Gnaneshwar

Swecha website with html&css

parent 26c66da4
<link rel="stylesheet" href="registration.css" type="text/css"/>
<body bgcolor="gray">
<h1> <marquee> SWECHA REGISTRATION FORM </marquee> </h1>
<td colspan="2" align="center"><div id="title" ><h1>Swecha</h1>
<small>Andhra Pradesh</small>
<div id="info">
<b>Registration form<br>
<lable>Name *</lable> &nbsp&nbsp&nbsp&nbsp
<input type="text" name="uname" id="uname" placeholder="Enter Your Full Name"/>
<lable>College Name *</lable>&nbsp&nbsp&nbsp&nbsp&nbsp
<input type="clg" name="clg" id="clg" placeholder="Enter Your college name"/><br>
<lable>department *</lable>&nbsp&nbsp&nbsp&nbsp
<option>select one Dept.</option>
</select> <br>
<lable>date of birth *</lable><br>
<input type="text" name="date" id="date1" placeholder="DD/MM/YYYY"/> <br>
<lable>E.Mail *</lable>&nbsp&nbsp&nbsp&nbsp
<input type="text" name="email" id="email" placeholder="enter mail"/><br>
<lable>Phone Number *</lable>&nbsp&nbsp&nbsp&nbsp
<input type="text" name="num" id="num" value="+91"/> <br>
<lable>Gender *</lable>&nbsp&nbsp&nbsp&nbsp
<input type="radio" name="gen" id="gen" value ="female" >Female</input>
<input type="radio" name="gen" id="gen" value ="male" >Male</input> <br>
<lable>How Do You Know About Swecha </lable>
<textarea cols="40"></textarea>
<input type="submit" name="submit" value="Submit" onclick="validate()"/>
<input type="Reset" name="reset" value="Reset"/> </b>
<img src="/home/swecha/Pictures/swecha_l.png" height="590" width="900"/>
<td colspan="2">
<div id="alert">
<marquee>Stay tuned to swecha for more updates,and make &lt3 </marquee>
<td colspan="2">
<div id="lstline" align="center">
Bye see you soon
function validate()
var name = document.getElementById("uname").value;
var clg=document.getElementById("clg").value;
var phn=document.getElementId("num").value;
window.alert("User name can't be empty");
window.alert("college name can't be empty");
window.alert("Enter a valid number");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment