What tag is used for each item on your list?

Learn web design with our comprehensive test guide. Improve your skills with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready to ace your exam!

Multiple Choice

What tag is used for each item on your list?

Explanation:
In HTML, each item in a list is marked up with a list item element. This is the tag that wraps the content of every entry in that list, regardless of whether the list is numbered or bulleted. So the tag used for each item itself is the list item tag, written as <li>. It sits inside a container list: an ordered list (<ol>) for numbered items or an unordered list (<ul>) for bulleted items. The other tags describe the list as a whole or a different list type: <ol> is the container for a numbered list, <ul> is the container for a bulleted list, and <dl> is a description list that uses <dt> for terms and <dd> for descriptions.

In HTML, each item in a list is marked up with a list item element. This is the tag that wraps the content of every entry in that list, regardless of whether the list is numbered or bulleted. So the tag used for each item itself is the list item tag, written as

  • . It sits inside a container list: an ordered list (
      ) for numbered items or an unordered list (
        ) for bulleted items. The other tags describe the list as a whole or a different list type:
          is the container for a numbered list,
            is the container for a bulleted list, and
            is a description list that uses
            for terms and
            for descriptions.

  • Subscribe

    Get the latest from Examzify

    You can unsubscribe at any time. Read our privacy policy