This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (84 loc) · 2.94 KB
/
index.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<title>HTML, CSS and JavaScript Demo</title>
</head>
<body>
<h1>HTML, CSS and JavaScript Demo</h1>
<!-- Paragraph and anchor tag section -->
<div>
<h2>Paragraph and anchor tag</h2>
<p>Hello HTML and CSS!</p>
<p>Goodbye JavaScript!</p>
<a href="https://google.com" target="_blank">Go to Google</a>
</div>
<!-- Table section -->
<div>
<h2>Table</h2>
<table>
<thead>
<tr>
<th>Country</th>
<th>Population</th>
</tr>
</thead>
<tbody>
<tr>
<td>Singapore</td>
<td>5,607,300</td>
</tr>
<tr>
<td>Malaysia</td>
<td>31,584,000</td>
</tr>
<tr>
<td>Thailand</td>
<td>67,959,000</td>
</tr>
</tbody>
</table>
</div>
<!-- Form section -->
<div>
<h2>Form</h2>
<form>
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="Please enter your name" /> <br />
<label for="email">Email</label>
<input type="text" name="email" id="email" placeholder="Please enter your email" /> <br />
<input type="radio" name="gender" value="male" checked> Male
<input type="radio" name="gender" value="female"> Female <br />
<input type="checkbox" id="coding" name="interest" value="coding">
<label for="coding">Coding</label>
<input type="checkbox" id="music" name="interest" value="music">
<label for="music">Music<label> <br />
<input type="submit" value="Submit Form" />
</form>
</div>
<!-- Ordered List -->
<div>
<h2>Ordered List</h2>
<ol>
<li>This is the first item on the list.</li>
<li>This is the second item.</li>
<li>Third item</li>
<li>Do I need to go on?</li>
</ol>
</div>
<!-- Unordered List -->
<div>
<h2>Unordered List</h2>
<ul>
<li>This is the first unordered list item.</li>
<li>Second unordered list.</li>
<li>Third bullet point.</li>
</ul>
</div>
<!-- Images -->
<div>
<h2>Images</h2>
<img src="http://i.imgur.com/wYTCtRu.jpg" alt="cat" />
<img src="dog.jpg" alt="dog" />
</div>
</body>
</html>