HTML <ul> tag

You are Here:

HTML <ul> tag

The <ul> tag defines an unordered list of items.

The <ul> element's list items typically rendered as a bulleted list.

Example

HTML Online Editor
<!DOCTYPE html> <html> <body> <ul> <li>Apple</li> <li>Banana</li> </ul> </body> </html>

Attributes

There is no special attributes for <ul> tag. Only Global attributes.

Deprecated Attributes

The following attributes should not be used in any case.

AttributeValueExplanation
compact-Specifies that the list items should render in smaller size than normal.
type
  • circle
  • disc
  • square
Specifies the style for the list items.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author