* Creation of a form using various Html tags & attributes
Coding - :
<!DOCTYPEhtml>
<html>
<head>
<title>Form in html 5</title></head>
<body bgcolor="aqua">
<form>
Name :<input type="text"autocomplete><br><br>
E mail:<input type="email"name="email"><br><br>
Date of inception :<input type="date"name="bday"><br><br>
Office time:<input type="time"name="usr_time"><br><br>
Number of year complete(between 1 and 100):<input type="number"min="1"max="100"><br><BR>
Office phone number :<input type="tel"name="phone"pattern="[0-9]{2}-{0-9]{10}"required><br><br>
Add your home page:
<input type="url"name="homepage"><br><br>
<input type="color" name="c1">
<Input type="submit" name="submit">
</form></body></html>
Output - :
No comments:
Post a Comment