DEV Community

Divya Divya
Divya Divya

Posted on

List used when designing a page in HTML?

We use the ordered list,unordered list and difinition list.

Ordered List: Displays elements in a numbered format.It is represented by <ol>tag.

Unordered List: Displyas elements in bullet point format.It's represented by <ul> tag.

Difinition List: Displays elements like in a dictionary.We use <dl>,<dt>,<dt> and <dd> tags to define description list.

Top comments (0)