Friday, April 10, 2020

Form in HTML part 6 (Website Development Course in Urdu Hindi 2020)







In this lecture you will learn how to make form in html.
Form is basically really important functionality in website user can fill the data and send them that data to the admin.






here is code for html form



<!DOCTYPE html>
<html>

<head>


</head>

<body>


<form>

<label>Username:</label>
<input type="text" placeholder="Enter your name" required><br><br>
<label>password:</label>
<input type="password" placeholder="Enter your password" required><br><br>

<label>select your city</label>
<select>
<option>Lahore</option>
<option>karachi</option>
<option>mansehra</option>
</select><br></br>
<label>Gender</label><br>
<input type="radio" name="gender">Male<br>
<input type="radio" name="gender">Female<br>
<label>select your fav colors</label><br>
<input type="checkbox">orange<br>
<input type="checkbox">blue<br>
<input type="checkbox">pink<br>

<input type="submit" value="Login">
<input type="reset" value="Reset">





</form>



</body>
</html>

No comments:

Post a Comment