Created
December 30, 2016 02:53
-
-
Save incubs/ee0df060cc4f5d5b33b1db608e80149f to your computer and use it in GitHub Desktop.
Form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
<!-- Optional theme --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | |
<!-- Latest compiled and minified JavaScript --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> | |
<title>Bootstrap</title> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Bootstrap</h1> | |
<div class="row col-md-4" > | |
<form action="add.php" method="post"> | |
<div class="form-group"> | |
<label for="name">Name</label> | |
<input type="text" name="name" class="form-control"> | |
</div> | |
<div class="form-group"> | |
<label for="email">Email</label> | |
<input type="email" name="email" class="form-control"> | |
</div> | |
<div class="form-group"> | |
<label for="message">Message</label> | |
<textarea name="message" rows="10" cols="10" class="form-control"></textarea> | |
</div> | |
<div class="form-group"> | |
<label for="message">Educaction</label> | |
<select name="education" id=""> | |
<option value="slc">SLC</option> | |
<option value="+2">Higher Secondary</option> | |
</select> | |
</div> | |
<div class="form-group"> | |
<label for="gender">Gender</label> | |
<input type="radio" name="gender" value ="Male"> Male | |
<input type="radio" name="gender" value ="Female"> Female | |
</div> | |
<div class="form-group"> | |
<label for="hobbie">Hobbies</label> | |
<input type="checkbox" name="hobbie[]" value="Football"> Football | |
<input type ="checkbox" name="hobbie[]" value="Volleyball"> Volleyball | |
<input type="checkbox" name="hobbie[]" value="Cricket"> Cricket | |
<input type ="checkbox" name="hobbie[]" value="Table Tennis"> Table Tennis | |
</div> | |
<div> | |
<!-- <input type="button" value="Submit" class="btn btn-success">--> | |
<button class="btn btn-success" name="info">Submit</button> | |
</div> | |
</form> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment