-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuestion.html
More file actions
103 lines (92 loc) · 2.93 KB
/
Question.html
File metadata and controls
103 lines (92 loc) · 2.93 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MY First HTML Page</title>
</head>
<body>
<head>
<h1>Well come to my page</h1>
</head>
<!-- Main part is start -->
<main>
<section>
<p>
This is practice question of HTMl.
<img src="https://i.ytimg.com/vi/KDQ2gKscIlU/maxresdefault.jpg" alt="Baby" width="300px" height="200px">
</p>
</section>
<section>
<ol>
<li>HTML</li>
<li>CSS</li>
<li>Java</li>
</ol>
</section>
<section>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Mango</li>
</ul>
</section>
<section>
<!-- In this section we use anchor tage for linking -->
<a href="https://www.example.com">Viste Example Website</a>
</section>
<section>
<!-- Here we use table tage for bulid a table -->
<table border="black">
<tr>
<th>Apple</th>
<th>Banana</th>
</tr>
<tr>
<td>apple</td>
<td>Banana</td>
</tr>
</table>
</section>
<section>
<!-- In this section we creat a form using form tags -->
<form action="action">
<label for="name">Name</label>
<input type="text" name="name" id="name">
<br>
Gender:
<label for="id2">Male</label>
<input type="radio" name="gender" id="id2" value="male">
<label for="id1">Female</label>
<input type="radio" name="gender" id="id1" value="female">
<br>
<label for="id3">Country</label>
<select name="country" id="id3">
<option value="pakistan">Pakistan</option>
<option value="india">Idia</option>
<option value="dubie">Dubie</option>
</select>
<br>
<label for="id4">Comment:</label>
<br>
<textarea name="comment" id="id4" cols="30" rows="10"></textarea>
</form>
</section>
<!-- Here we use apply diffirnet style on div -->
<div
style="border: hotpink;"
style="padding: 50px;"
style="margin: 15px;">
what is your real pr0blem?
</div>
<button onclick="showalert"> click me</button>
</main>
<footer>Please content us for more information.</footer>
<!--This is small part of JavaScript -->
<script>
function showalert () {
alert("hello,word!");
}
</script>
</body>
</html>