|
1 | 1 | <!DOCTYPE html> |
2 | | -<html> |
| 2 | +<html lang="en"> |
3 | 3 | <head> |
4 | | - <title>about</title> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>All Input Types</title> |
5 | 6 | </head> |
6 | 7 | <body> |
7 | | - |
8 | | - <div> |
9 | | - <h3>Types of Inputs</h3> |
10 | | - <li><input type="button" value="button"/></li> |
11 | | - <br> |
12 | | - <li>Checkbox<input type="checkbox" value=""/></li> |
13 | | - <br> |
14 | | - <li>Color : <input type="color"/></li> |
15 | | - <br> |
16 | | - <li>Date : <input type="date"/></li> |
17 | | - <br> |
18 | | - <li>datetime : <input type="datetime"/></li> |
19 | | - <br> |
20 | | - <li>datetime-local : <input type="datetime-local"/></li> |
21 | | - <br> |
22 | | - <li>email : <input type="email"/></li> |
23 | | - <br> |
24 | | - <li>file : <input type="file"/></li> |
25 | | - <br> |
26 | | - <li>image : <input type="image"/></li> |
27 | | - <br> |
28 | | - <li>hidden : <input type="hidden"/></li> |
29 | | - <br> |
30 | | - <li>month : <input type="month"/></li> |
31 | | - <br> |
32 | | - <li>password : <input type="password"/></li> |
33 | | - <br> |
34 | | - <li>radio : <input type="radio"/></li> |
35 | | - <br> |
36 | | - <li>reset : <input type="reset"/></li> |
37 | | - <br> |
38 | | - <li>range : <input type="range"/></li> |
39 | | - <br> |
40 | | - <li>search : <input type="search"/></li> |
41 | | - <br> |
42 | | - <li>text : <input type="text"/></li> |
43 | | - <br> |
44 | | - <li>url : <input type="url"/></li> |
45 | | - <br> |
46 | | - <li>week : <input type="week"/></li> |
47 | | - <br> |
48 | | - <li>tel : <input type="tel"/></li> |
49 | | -</div> |
| 8 | + |
| 9 | +<form> |
| 10 | + |
| 11 | + <input type="text" placeholder="Text"><br> |
| 12 | + <input type="password" placeholder="Password"><br> |
| 13 | + <input type="email" placeholder="Email"><br> |
| 14 | + <input type="number" placeholder="Number"><br> |
| 15 | + <input type="tel" placeholder="Phone"><br> |
| 16 | + <input type="url" placeholder="URL"><br> |
| 17 | + <input type="date"><br> |
| 18 | + <input type="color"><br> |
| 19 | + <input type="range"><br> |
| 20 | + <input type="file"><br> |
| 21 | + |
| 22 | + <input type="checkbox"> Checkbox<br> |
| 23 | + |
| 24 | + <input type="radio" name="r"> Radio 1 |
| 25 | + <input type="radio" name="r"> Radio 2<br> |
| 26 | + |
| 27 | + <select> |
| 28 | + <option>Option 1</option> |
| 29 | + <option>Option 2</option> |
| 30 | + </select><br> |
| 31 | + |
| 32 | + <textarea placeholder="Your message"></textarea><br> |
| 33 | + |
| 34 | + <button type="submit">Submit</button> |
| 35 | + |
| 36 | +</form> |
| 37 | + |
50 | 38 | </body> |
51 | 39 | </html> |
0 commit comments