Intro to HTML HTML Tags HTML file HTML heading HTML line breaks HTML Lists HTML Divs HTML images HTML Attributes HTML hyperlink HTML Comment HTML Embed


HTML Lists

HTML lists allow web developers to group a set of related items in lists.



There are 3 types of lists:


UNORDERED LISTS:


An unordered list starts with the 'ul' tag & end with '/ul'. Each list item starts with the

  • tag. The list items will be marked with bullets (small black circles) by default:



    ORDERED LISTS:


    An ordered list starts with the 'ol' tag. Each list item starts with the 'li' tag. The list items will be marked with numbers by default:



    DEFINITION LISTS:


    HTML also supports description lists. A description list is a list of terms, with a description of each term. The 'dl' tag defines the description list, the ''dt' tag defines the term (name), and the 'dd' tag describes each term: