Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Lists | Basic Elements
Introduction to HTML

bookLists

In HTML, there are three types of lists: ordered, unordered, and descriptive.

Ordered List and Unordered List

An ordered list is a list of items numbered, whereas an unordered list is a list of items marked with bullet points.

index.html

index.html

copy

Here is an example of an unordered list:

index.html

index.html

copy

This would create a bullet-pointed list with the items 'First item', 'Second item', and 'Third item'.

Both the <ol> and <ul> elements can be used with the type attribute to specify the numbering or bullet point style.

For example, you could use the type attribute to create a list with lowercase letters instead of numbers, like this:

index.html

index.html

copy

The <li> element can be used with the value attribute to specify the numbering or bullet point style for a specific item in the list.

index.html

index.html

copy

Descriptive list

A description or definition list lists terms and their corresponding descriptions.

index.html

index.html

copy

The <dl> element is used to define the description list, and the <dt> and <dd> elements are used to determine the terms and descriptions, respectively.

Here is an example of a description list with multiple descriptions for a single term:

index.html

index.html

copy
question mark

What is the correct HTML tag for creating a term in a descriptive list?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Suggested prompts:

Pergunte-me perguntas sobre este assunto

Resumir este capítulo

Mostrar exemplos do mundo real

Awesome!

Completion rate improved to 3.45

bookLists

Deslize para mostrar o menu

In HTML, there are three types of lists: ordered, unordered, and descriptive.

Ordered List and Unordered List

An ordered list is a list of items numbered, whereas an unordered list is a list of items marked with bullet points.

index.html

index.html

copy

Here is an example of an unordered list:

index.html

index.html

copy

This would create a bullet-pointed list with the items 'First item', 'Second item', and 'Third item'.

Both the <ol> and <ul> elements can be used with the type attribute to specify the numbering or bullet point style.

For example, you could use the type attribute to create a list with lowercase letters instead of numbers, like this:

index.html

index.html

copy

The <li> element can be used with the value attribute to specify the numbering or bullet point style for a specific item in the list.

index.html

index.html

copy

Descriptive list

A description or definition list lists terms and their corresponding descriptions.

index.html

index.html

copy

The <dl> element is used to define the description list, and the <dt> and <dd> elements are used to determine the terms and descriptions, respectively.

Here is an example of a description list with multiple descriptions for a single term:

index.html

index.html

copy
question mark

What is the correct HTML tag for creating a term in a descriptive list?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 6
some-alt