Meanstack Dev Lab2: AIDS
Module Name: Creating Form Elements, Color and Date Pickers, Select and Datalist Elements
<html>
<head>
<title>IEKart-Electronics</title>
</head>
<body>
<form action = "new.js" method = "post">
<p>
<label for = "firstname">first name: </label>
<input type = "text" id = "firstname" required /><br />
<label for = "lastname">last name: </label>
<input type = "text" id = "lastname" required /><br />
<label for = "dob">date of birth: </label>
<input type = "date" id = "dob"><br />
<label for = "state">state: </label>
<select name="states" id="state">
<option value="AP">AP</option>
<option value="TS">TS</option>
<option value="TN">TN</option>
<option value="UP">UP</option>
</select><br />
<p>
Select your favorite color:
<input type="color" value="red" id="color" />
</p>
<label for = "email">email: </label>
<input type = "text" id = "email"><br>
<input type = "radio" name = "gender" value = "male"> Male<br>
<input type = "radio" name = "gender" value = "female"> Female<br>
<input type = "submit" value = "send"> <input type = "reset">
</p>
</form>
</body>
</html>
Comments
Post a Comment