2
Contributors
3
Replies
20
Views
2 Years
Discussion Span
Last Post by Shibbir Khan
0

No, <li> is a list item, it can take any manner of numbers, letters or bullets. You are referring to the parent tag, <ol>, which stands for 'ordered list' (numbers by default) as opposed to <ul> which stands for unordered list (bullets usually).

The style of these list items can be set via CSS:

`list-style`, `list-style-type` (or `list-style-image` if you wish to provide your own bullets)    

This can override the specified ol/ul so that ol can be bulleted and ul can be numbered. BUT, semantically choose the right tag for the job.

Edited by diafol

0

Here's a screenshot of the various types:

0cfdc48252541e10ebb251bba4e5fe44

Not sure what you're getting at with this:

If you need the value for saving a f.E. locale like 'US', 'EN' etc. ?

Some solutions here for using characters as bullets (unordered):

http://stackoverflow.com/questions/7698764/custom-bullet-symbol-for-li-elements-in-ul-that-is-a-regular-character-and

Be careful with using non-numerics for ordered lists. For example, what happens to alphabetics (latin/alpha) once you go beyond 26 items?

Edited by diafol

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.