Organising Lists
In HTML, lists can be created using two main tags: <ul> (unordered list) and <ol> (ordered list).
Unordered List
<ul> creates a list with bullet points or other markers for each item without any specific order or ranking. Each item is enclosed in a <li> (list item) tag, which creates a separate bullet point for each item.
index.html
Ordered List
<ol>, on the other hand, is used to create a list with a specific order or ranking. The list items are numbered sequentially using the <li> tag.
index.html
You can also specify a start value for the numbering using the start attribute in the <ol> tag.
index.html
List Nesting
Both <ul> and <ol> can be nested inside each other to create sub-lists. For example, you can create a numbered list (<ol>) with nested bullet point lists (<ul>) for each item.
index.html
Merci pour vos commentaires !
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 2.38
Organising Lists
Glissez pour afficher le menu
In HTML, lists can be created using two main tags: <ul> (unordered list) and <ol> (ordered list).
Unordered List
<ul> creates a list with bullet points or other markers for each item without any specific order or ranking. Each item is enclosed in a <li> (list item) tag, which creates a separate bullet point for each item.
index.html
Ordered List
<ol>, on the other hand, is used to create a list with a specific order or ranking. The list items are numbered sequentially using the <li> tag.
index.html
You can also specify a start value for the numbering using the start attribute in the <ol> tag.
index.html
List Nesting
Both <ul> and <ol> can be nested inside each other to create sub-lists. For example, you can create a numbered list (<ol>) with nested bullet point lists (<ul>) for each item.
index.html
Merci pour vos commentaires !