forked from Qasim-Rokeeb/HTML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLists.html
More file actions
76 lines (59 loc) · 1.38 KB
/
Lists.html
File metadata and controls
76 lines (59 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Lists</title>
</head>
<body>
<!--unordered list-->
<h2>My Favorite Fruits</h2>
<ul>
<li>Mango</li>
<li>Banana</li>
<li>Apple</li>
<li>Orange</li>
</ul>
<!--ordered list-->
<h2>Steps to Make Tea</h2>
<ol >
<li>Boil Water</li>
<li>Add Tea Leaves</li>
<li>Pour Water into Cup</li>
<li>Add Sugar and Milk</li>
<li>Stir Well</li>
</ol>
<!---ordered list examples-->
<h2>Ordered List Examples</h2>
<ol type="A">
<li>First Item</li>
<li>Second Item</li>-
<li>Third Item</li>
</ol>
<ol type="a">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<ol type="i">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<ol type="I">
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
<!--definition list-->
<h2>HTML Definitions</h2>
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language</dd>
<dt>CSS</dt>
<dd>Cascading Style Sheets</dd>
<dt>JS</dt>
<dd>JavaScript</dd>
</dl>
</body>
</html>