Home QBASIC C Java HTML
  • More Courses
  • MCQs
  • Blog Download
  • Tools
  • Contact

    HTML List


    • HTML lists allow web developers to group a set of related items in lists.
    • Different types of lists in HTML
      1. Ordered List
      2. Unordered List
      3. Definition Lists
    • Order Lists Unordered List Definition List
      1. First item
      2. Second item
      3. Third item
      • First item
      • Second item
      • Third item
      Computer
      It is an electronic device
      Mouse
      Pointing type input device
    • An ordered list starts with the <ol> tag. Each list items starts with the <li> tag.
    • The list items are marked with numbers.
    • An unordered list starts with the <ul> tag. Each list items starts with the <li> tag.
    • The list items are marked with bullets.
    • A definition list is a list of items, with a description of each item.
    • The <dl> tag defines a definition list.
    • The <dl> tag is used in conjunction with <dt> (defines the items in the list) and <dd> (describes the item in the list)
    • HTML List Tags
      Tag Description
      <ol> Defines an ordered list
      <ul> Defines an unordered list
      <li> Defines a list item
      <dl> Defines a defination list
      <dt> Defines an item in a defination list
      <dd> Defines description of an item in a defination list

    73