-
Notifications
You must be signed in to change notification settings - Fork 0
/
lists.html
88 lines (73 loc) · 1.84 KB
/
lists.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lists</title>
</head>
<body>
<font color="red"><h2>List</h2></font>
<font color="#B22222"><p>- There are three types of lists <br>
1) Ordered list<br>
2) Unordered list <br>
3) Defination list<br>
</p></font>
<font color="red"><h2>Example -</h2></font>
<font color="red"><h3>Ordered List -</h3></font>
<font color="#B22222"><p>Default</p>
<ol>
<li>Html</li>
<li>Css</li>
<li>Javascript</li>
</ol>
<p>For start with customized numbers use start="number" attribute.</p>
<ol start="010">
<li>Html</li>
<li>Css</li>
<li>Javascript</li>
</ol>
<p>For start with alphabates use type="Alphabate" attribute.</p>
<ol type="A">
<li>Html</li>
<li>Css</li>
<li>Javascript</li>
</ol>
<p>For start with roman numbers use type="i" attribute.</p>
<ol type="i">
<li>Html</li>
<li>Css</li>
<li>Javascript</li>
</ol>
<p>For start with capital roman numbers use type="I" attribute.</p>
<ol type="I">
<li>Html</li>
<li>Css</li>
<li>Javascript</li>
</ol></font>
<font color="red"><h3>Unordered List -</h3></font>
<font color="#B22222"><p>Default</p>
<ul>
<li>Lion</li>
<li>Tiger</li>
<li>Leopard</li>
</ul>
<p>For start with circle use type="circle" attribute.</p>
<ul type="circle">
<li>Lion</li>
<li>Tiger</li>
<li>Leopard</li>
</ul>
<p>For start with circle use type="square" attribute.</p>
<ul type="square">
<li>Lion</li>
<li>Tiger</li>
<li>Leopard</li>
</ul>
<p>Note - There are only three values of type attribute which are disk(default),circle and square.</p></font>
<font color="red"><h3>Defination List -</h3></font>
<font color="#B22222"><p>Default</p>
<dl>
<dt>Html</dt><dd>It is client side scripting language.</dd>
<dt>Css</dt><dd>Cascading style sheet is used to formatting html pages.</dd>
</dl></font>
</body>
</html>