W3Schools.com

HTML5 <ul> Tag

Example

An unordered HTML list:

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <ul> tag is supported in all major browsers.


Definition and Usage

The <ul> tag defines an unordered (bulleted) list.

Use the <ul> tag together with the <li> tag to create unordered lists.


Differences Between HTML 4.01 and HTML5

The "compact" and "type" attributes are deprecated in HTML 4.01, and are not supported in HTML5.


Tips and Notes

Tip: To create ordered lists, use the <ol> tag.

Tip: Use CSS to style lists.


Global Attributes

The <ul> tag also supports the Global Attributes in HTML5.


Event Attributes

The <ul> tag also supports the Event Attributes in HTML5.


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE