Loading...
HTML <ul> Tag

HTML <ul> Tag

In this tutorial, we will learn about ul tag in HTML with the help of examples.


<ul> Tag

U tag <ul> is used to create an unordered (bulleted) list.

Note : The <ul> is used with <li> tag to create unordered lists.

Syntax

<ul>......... </ul>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>ul Tag</title>
  </head>
  <body>
    <ul>
      Programming languages
      <li>HTML</li>
      <li>CSS</li>
      <li>Javascript</li>
    </ul>
  </body>
</html>

Output :

    Programming languages
  • HTML
  • CSS
  • Javascript

Global Attribute

Ul Tag support all the global attributes of HTML.


Event Attribute

Ul Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <ul> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <var> Tag.

- Related Topics