HTML <ul> tag

Html <ul> tag : Definition

• HTML <ul> tag is a block-level element and used for defining an unordered list which contains a list of items having no numerical order.

• This element displays bullet(•) points by default that can be modified using CSS.

• The <ul> tag requires opening and closing tag and it should must contain a child element <li>.



Html <ul> tag example

<!DOCTYPE html>
<html>
<head>
  <title>Html <ul> tag example</title>
</head>
<body>
  <ul>
    <li>This is a list</li>
    <li>This is an another list</li>
    <li>This is again an another list</li>
  </ul>
</body>
</html>

Output:

  • This is a list
  • This is an another list
  • This is again an another list