Forms in Html

Forms in Html Chap 4




Code in Html




Display in Browser




<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
<form>
<h2>Forms in html </h2>
<label>First Name:</label><br>
<input type="text" name=""><Br>
<label>Last Name:</label><br>
<input type="text" name=""><Br>
<label>Password:</label><br>
<input type="Password" name=""><Br>
<label for="City">Chosse City</label>

<select name="city">
    <option value=" Karachi">Karachi</option>
      <option value="Islamabad">Islamabad</option>
  <option value="Lahore">Lahore</option>
  <option value="Bahawalpur">Bahawalpur</option>
</select><br>
<label>Departments</label>
<input type="checkbox" name="">ICT<br>
<input type="checkbox" name="">QS<br>
<input type="checkbox" name="">Auto & Diesel<br>

<input type="submit" name="">
</form>
</body>
</html>





Forms in html








ICT
QS
Auto & Diesel

No comments

Powered by Blogger.