If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

HTML: The ul, ol, and li tags

These tags are used to create lists. A list must start with either a <ul> if it is an unordered list (with bullets) or start with a <ol> if it is an ordered list (with numbers). Inside each list, every item must be start with an <li> tag. Note that the items don't need to end with a close </li> tag, but it is preferred.
Note that the list items can contain any other HTML tags, including another list (to create a "nested list").

Want to join the conversation?

No posts yet.