-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-list-styles.html
62 lines (53 loc) · 1.01 KB
/
css-list-styles.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
<!DOCTYPE html>
<html>
<head>
<title>Css List Styles</title>
<style type="text/css">
body{
margin: 200px;
}
ol{
/*list-style-type:none; */
border:1px solid;
/*list-style-type:upper-roman; */
/*upper-alpha | upper-armenian*/
/*list-style-type:upper-alpha;
list-style-position: outside;
list-style-image: url("arrow.ico");
*/
list-style: url("arrow.ico") outside;
}
ul{
/*list-style-type: none;*/
/*circle / square / bengali /arabic-indic*/
list-style-type:square;
/*list-style-position: inside;*/
list-style-image: url("arrow.ico");
}
li{
background: red;
margin: 10px;
text-align: center;
font-family: cursive;
font-size: 50px;
}
</style>
</head>
<body>
<h3>Ordered List</h3>
<ol>
<li>Milk</li>
<li>Butter</li>
<li>Ghee</li>
<li>Dahee</li>
</ol>
<hr>
<h3>Unordered List</h3>
<ul>
<li>Milk</li>
<li>Butter</li>
<li>Ghee</li>
<li>Dahee</li>
</ul>
</body>
</html>