Creating form with html/How-to
<!DOCTYPE html>
<html>
<head>
<title>form with html</title>
</head>
<body>
<form>
<label>Firstname:</label>
<input type="text" name="fn" required placeholder="Your firstname..."/>
<br/><br/>
<label>Lastname:</label>
<input type="text" name="ln" required placeholder="your last name.."/>
<br/><br/>
<label>Gender:</label>
<input type="radio" name="gen"/>male
<input type="radio" name="gen"/>female
<br/><br/>
<label>Select Country</label>
<select>
<option>Nigeria</option>
<option>Afganistan</option>
<option>America</option>
</select>
<br/><br/>
<label>Password:</label>
<input type="password" name="pw"/>
<br/><br/>
<label>Username:</label>
<input type="text" name="us"/>
<br/><br/>
<input type="checkbox" checked/>I hereby confirm that am over 18years.
<br/><br/>
<input type="submit" value="Submit"/>
</form>
</body>
</html>
Comments
Post a Comment