Unordered HTML List - Choose List Item Marker
The CSS list-style-type property is used to define
the style of the list item marker. It can have one of the following values:
Disc - Sets the list item marker to a bullet (default)
Circle- Sets the list item marker to a circle
Square- Sets the list item marker to a square
None- The list items will not be marked
Example - Disc
<ul style="list-style-type:disc;">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Example - Circle
<ul style="list-style-type:circle;">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Example - Square
<ul style="list-style-type:square;">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
Example - None
<ul style="list-style-type:none;">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
No comments:
Post a Comment
Please do not enter any Link in the comment box.