Ajay Yadav
Ajay Yadav

@ATechAjay

7 Tweets 4 reads May 23, 2023
99% of Developers still do not know that there are 4 types of lists in HTML.
Give me 5 minutes and I will show them to you right in front of you!
Open: 🧡
Indeed, there are four types of lists in HTML, and they are also the most useful from an interview perspective.
➊ Unorder list
βž‹ Order list
➌ Data list
➍ Menu list
➊ Unorder list
- An unordered list is a bulleted list where each item is preceded by a bullet point.
- It is created using the <ul> element and each list item is defined using the <li> element.
βž‹ Order list
- An order list is a numbered list where each item is preceded by a number.
- It is created using the <ol> element, and each list item is defined using the <li> element.
➌ Data list
- A definition list is a list that consists of terms and their corresponding definitions.
- It is created using the <dl> element, and each term is defined using the <dt> element, while each definition is defined using the <dd> element.
➍ Menu list
- The menu list is used to create a list of menu options. It is created using the <menu> element, and each item is defined using the <li> element.
That's all for now, we will meet in the next thread😍
πŸ”” Follow Me @ATechAjay
For:
πŸ€– AI Tool Tester
🌐 Web Development
✨ JavaScript
βš›οΈ React JS
πŸ“ Writing Skill
πŸ”₯ Motivation
πŸ’Ή Growth
Thank you so much for staying to the end of this threadπŸ’š

Loading suggestions...