UL list-style: none : list style type « CSS « HTML / CSS






UL list-style: none

  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
ul {
 width: 30%;
 padding: 0 0 0.75em 0; 
 margin: 0; 
 list-style-type: none;
}
li {
 text-indent: -0.75em; 
 margin: 0.33em 0.5em 0.5em 1.5em;
}
</style>
</head>

<body>
  <ul>
   <li>Database</li>
   <li>Privacy</li>
   <li>Best</li>
   <li>Automation?</li>
   <li class="last">Smart Choice</li>
  </ul>
  
</body>
</html>

   
  








Related examples in the same category

1.The list-style-type Property
2.'list-style-type' Example
3.The table that follows lists the popularly supported values for ordered lists.
4.list-style-type: upper-greek
5.list-style-type: square
6.list-style-type: disc
7.list-style-type: circle
8.list-style-type: lower-roman
9.list-style-type: upper-latin
10.list-style-type: lower-latin
11.list-style-type: lower-greek
12.list-style-type: georgian
13.list-style-type: decimal
14.list-style-type: decimal-leading-zero
15.list-style-type: armenian
16.list style type: armenian
17.list style type: decimal and decimal leading zero
18.list style type: georgian
19.list style type: lower greek
20.list style type: lower latin
21.list style type: lower latin, upper latin
22.list style type: lower roman
23.list style type: lower roman upper roman
24.list style type: square, disc, circle
25.list style type: upper greek
26.list style type: upper latin
27.list style type: upper roman
28.list-style-type: upper-roman; list-style-position: inside;
29.list-style-type: decimal; list-style-position: outside;
30.Changing unordered list markers to square
31.UL list-style-type: disc;
32.list-style-type: none
33.Character marker for list
34.Entity marker
35.list-style-type: lower-latin/upper-latin
36.list-style-type: square/disc/circle