-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
67 lines (63 loc) · 2.6 KB
/
form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<head>
<title>Form element</title>
</head>
<body>
<form name="" action="APICall" method="">
<label for="">Name : </label>
<!--
type -> email, text etc
name -> backend fetch
id -> Js fetch
placeholder -> WaterMark Text
Value -> Set Default Value for that box
min -> Minimum Value
Max -> Maximum value
minlength -> Minimum length
maxlength -> Maximum length
-->
<input type="" name="" id="" placeholder="WaterMark" value="CodeKul" min="" max="" minlength="10" maxlength="10" />
<input type="text" />
<input type="email" />
<input type="url" />
<input type="tel" minlength="10" maxlength="10" />
<input type="number" min="2" max="5" />
<input type="search" />
<input type="password" />
<br><br>
<input type="file" />
<input type="range" />
<input type="color" />
<input type="month" />
<input type="week" />
<input type="date" />
<input type="time" />
<input type="datetime-local" />
<textarea rows="10" cols="60"></textarea>
<br>
<label>City : </label>
<select>
<option value="Pune" name="city">Pune</option>
<option value="Mumbai" name="city">Mumbai</option>
<option value="Mumbai" name="city">Mumbai</option>
<option value="Mumbai" name="city">Mumbai</option>
<option value="Mumbai" name="city">Mumbai</option>
<option value="Mumbai" name="city">Mumbai</option>
<option value="Mumbai" name="city">Mumbai</option>
</select><br/>
<lable>Gender : </lable>
<input type="radio" value="Male" name="gender">Male
<input type="radio" value="Female" name="gender">Female
<input type="radio" value="Other" name="gender">Other
<br />
<label>Hobbies :</label>
<input type="checkbox" name="hobbies" value="Reading"/>Reading
<input type="checkbox" name="hobbies" value="Playing Music"/>Playing Music
<input type="checkbox" name="hobbies" value="Travelling"/>Travelling
<input type="submit" />
<input type="reset" />
<input type="button" value="Btn Input" />
</form>
<button>Btn element</button>
</body>
</html>