Tools, FAQ, Tutorials:
HTML Un-ordered List Item Markers
How To Use Different Markers on Unordered List Items?
✍: FYIcenter.com
By default, browsers will use solid dots as the item markers for unordered lists.
If you want to change them to something else, like tiny squares, you need to
use CSS properties. Here is a tutorial example showing you how to set item markers to
be tiny squares:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>List Item Markers</title> </head> <body> <h4>Search Engines:</h4> <ul style="list-style-type: square"> <li>google.com</li> <li>yahoo.com</li> <li>msn.com</li> <li>ask.com</li> </ul> </body> </html>
If you save the above document as square_item_marker.html, and view it with
Internet Explorer, you will see a list of 4 items with tiny squares as item markers as shown below:
Â
⇒⇒HTML Tutorials
2017-05-20, 1103👍, 0💬
Popular Posts:
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request....
How To Control Padding Spaces within a Table Cell? Cell padding spaces are spaces between cell inner...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to add request query string Parameters to my Azure API operation to make it more user friendly? ...
FYIcenter.com Online Tools: FYIcenter JSON Validator and Formatter FYIcenter JSON to XML Converter F...