Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Organising Lists | Etiquetas y Atributos HTML
Quizzes & Challenges
Quizzes
Challenges
/
HTML Definitivo

bookOrganising 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

index.html

copy

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

index.html

copy

You can also specify a start value for the numbering using the start attribute in the <ol> tag.

index.html

index.html

copy

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

index.html

copy
question mark

What are the two main types of lists in HTML?

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 5

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Suggested prompts:

Can you show me an example of a nested list in HTML?

What are some common use cases for ordered and unordered lists?

How do I customize the appearance of HTML lists?

bookOrganising Lists

Desliza para mostrar el menú

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

index.html

copy

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

index.html

copy

You can also specify a start value for the numbering using the start attribute in the <ol> tag.

index.html

index.html

copy

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

index.html

copy
question mark

What are the two main types of lists in HTML?

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 5
some-alt