Main content
Unlisted resources area
Course: Unlisted resources area > Unit 2
Lesson 2: Webpage documentation- HTML: The h1 to h6 tags
- HTML: The p tag
- HTML: The br tag
- HTML: The ul, ol, and li tags
- HTML: The strong and em tags
- HTML: The a tag
- HTML: The image tag
- HTML: The table tags
- CSS: The element selector
- CSS: The descendant selector
- CSS: The class selector
- CSS: The id selector
- CSS: The color property
- CSS: The background-color property
- CSS: The font-family property
- CSS: The font-size property
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
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").