Skip to content

Commit c5e49e7

Browse files
authored
Basic html form tags and attributes
1 parent 5f1e05d commit c5e49e7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Topics/Basic Form Tags

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<html>
2+
<body bgcolor="cyan" text=red>
3+
<font size=7 color=black face=verdana><center>FORM</center></font>
4+
<form>
5+
<font size=5>
6+
Name: <input type="text" size=5 maxlength=15><br><br>
7+
Student No: <input type="text"><br><br>
8+
Address: <textarea rows=5 cols=5></textarea><br><br>
9+
Indian <input type=checkbox><br><br>
10+
Which Place do you like?<br>
11+
Agra <input type=radio name=place>
12+
Jaipur <input type=radio name=place>
13+
Lucknow <input type=radio name=place>
14+
<br>
15+
<br>
16+
<select name=dropdown1>
17+
<option value=sid>Sid</option>
18+
<option value=rahul>Rahul</option>
19+
<option value=vatsal>Vatsal</option>
20+
<option value=shubham>Shubham</option>
21+
<option value=kapil selected>Kapil</option>
22+
</select ><br><br>
23+
Upload the PDF file<br>
24+
<input type=file size="300"><br><br>
25+
<select name=dropdown2>
26+
<option value=b><img src=b.jpg></option>
27+
<option value=a><img src=a.jpg></option>
28+
</select ><br><br>
29+
<input type=submit value=Submit>
30+
<input type=reset value=Reset>
31+
</font>
32+
</form>
33+
</body>
34+
</html>vb
35+
36+

0 commit comments

Comments
 (0)