ul tag or element in html

If you want to make a list of bullet points, you write the list within the

    element (which stands for unordered list). Each bullet point or line you want to write should then be contained between opening

  • tags and closing
  • tags (the li stands for list item ).
    You should always close the

  • element. Even though you might see some HTML pages that leave off the closing tag, this is a bad habit you should avoid.
    For Example:-

    • Bullet point number one
    • Bullet point number two
    • Bullet point number three

    Result:-

    • Bullet point number one
    • Bullet point number two
    • Bullet point number three

    The

      and

    • elements can carry all the universal attributes and UI event attributes.

Author: Ramesh Saini

Leave a Reply

Your email address will not be published. Required fields are marked *