-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lists.html
93 lines (93 loc) · 2.29 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
89
90
91
92
93
<html>
<head>
<title> Lists </title>
</head>
<body>
<h1> Lists Demonstration </h1>
<hr>
<p> <b> Unordered lists: </b> </p>
<p> Default unordered list (disc):
<ul> <!--unordered list tag-->
<!--default type is disc-->
<li> Apple </li> <!--list item tag--> <!--closing optional-->
<li> Orange </li>
<li> Banana </li>
</ul>
Unordered list with empty bullets:
<ul type=circle>
<li> Sun </li>
<li> Moon </li>
<li> Earth </li>
</ul>
Unordered list with square bullets:
<ul type=square>
<li> Linux </li>
<li> FreeBSD </li>
<li> Windows </li>
<li> MacOS </li>
</ul>
</p>
<p> <b> Ordered lists: </b> </p>
<p> Default ordered list (1):
<ol> <!--ordered list tag-->
<!--default type is 1 and start from 1-->
<li> Work Hard </li>
<li> Play Harder </li>
<li> Sleep Hardest </li>
</ol>
Ordered list with type "a":
<ol type=a>
<li> apple </li>
<li> ball </li>
<li> cat </li>
</ol>
Ordered list with type "A":
<ol type=A>
<li> Math </li>
<li> Computer Science </li>
<li> Physics </li>
</ol>
Ordered list with type "i":
<ol type=i>
<li> Fruits </li>
<li> Vegetables </li>
<li> Milk </li>
</ol>
Ordered list with type "I":
<ol type=I>
<li> BCA </li>
<li> BBA </li>
<li> B.Tech </li>
</ol>
</p>
<p> <b> Definition list: </b> </p>
<p>
An example of definition list:
<dl> <!--definition list tag-->
<dt> abacus: </dt> <!--data term tag--> <!--closing optional-->
<dd> a device for making arithmetic calculations, consisting of a frame set with rods on which balls or beads are moved. </dd> <!--closing optional-->
<br>
<dt> baby talk: </dt>
<dd> the speech of children learning to talk, marked by syntactic differences from adult speech and by phonetic modifications like lisping, lalling, and the omission and substitution of sounds. </dd>
<br>
<dt> cache: </dt>
<dd> a temporary storage space or memory that allows fast access to data. </dd>
</dl>
</p>
<p> <b> Menu list: </b> </p>
<p>
<menu> <!--menu list tag-->
<li> Menu item 1 </li>
<li> Menu item 2 </li>
</menu>
</p>
<p> <b> Directory list: </b> </p>
<p>
<dir> <!--directory list tag-->
<li> Directory item 1 </li>
<li> Directory item 2 </li>
</dir>
</p>
<b> <i> Menu list and directory list are shown just like default unordered list. </i> </b>
</body>
</html>