Signup/Sign In
PUBLISHED ON: FEBRUARY 23, 2021

HTML UL Tag

In HTML, the <ul> tag stands for unordered list and used to create bullet lists on web pages.

  • List items inside an unordered list are typically rendered as a Bulleted list.

  • To create an unordered list, always use <li> tag along with <ul> tag.

  • Also, it lies in the category of Block-level Elements.

HTML <ul> tag-Syntax and Usage

The <ul> tag requires the start(opening) tag and end(closing) tag.

Given below is the basic syntax for the same:

<ul>
....
</ul>

HTML <ul> Tag Basic Example

Below we have a basic example to show the usage of the <ul> tag:

HTML <ul> Tag Attributes

This element does not have any specific attributes although this element supports Global and Event attributes.

Default CSS Settings of HTML<ul> Tag

The default CSS Settings or value for <ul> tag is as shown below.

ul {
  display: block;
  list-style-type: disc;
  margin-top: 1em;
  margin-bottom: 1 em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
}

Browser Support for HTML <ul> Tag

Following browsers support this attribute:

  • Google Chrome 9.0

  • Internet Explorer 11.0

  • Firefox 4+

  • Opera

  • Safari



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.