HTML List Unordered List

 

1. Unordered List (<ul>)

An unordered list creates a list of items with bullet points by default.

Basic Syntax:

<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>

Attributes of <ul>:

  • type: Specifies the type of bullet. Possible values:
    • disc (default)
    • circle
    • square
    • none (no bullets)

Example with type:

<ul type="circle"> <li>Circle Bullet</li> <li>Another Circle Bullet</li> </ul>

Comments

Popular posts from this blog

Introduction to Computer

History of Computer

Computer Generation