1.2 HTML Lists Flashcards

1
Q

What is an HTML list?

A

A list is typically a combination of words separated by spaces, returns, or commas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two types of lists most commonly seen online?

A

Ordered lists Unordered lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an ordered list?

A

It’s a list where the items are clearly sorted in a sequential order. It usually follows a number or letter system to indicate positioning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an unordered list?

A

This is a list where bullet points mark the beginning of each item in the list. There isn’t an inherent hierarchical order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

On the web, define 3 scenarios where unordered lists are used?

A

Shopping Cart Items (UL

To do list (UL)

Facebook Saved Items (UL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are 3 practical environments
where ordered lists are used online?

A
  1. Cooking Recipe Steps (OL)
  2. Top 10 Best Practice List (OL)
  3. Top 5 Best Restaurants (OL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What HTML syntax is used to start unordered lists?

A

ul

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What HTML syntax is used to create ordered lists?

A

OL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What HTML syntax do you use to
create an item within a list?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How are list items nested?

A

List items under their parent tag of UL or OL.

List items are the child tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What happens if you place list items without their li tags?

A

The items appear in a single line of text, rather than stacked and marked based on the type of list (OL, UL).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can you nest ordered lists and unordered lists together?

A

Surprisingly, yes!

It looks like a hot mess when done in pure HTML, but in some scenarios it may be appropriate to organize content that way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does DL stand for?

A

Definition Lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a definition list do?

A

You could use it anywhere you need to distinguish between the keyword and the definition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are 3 possible scenarios where a
definition list is relevant to use?

A

Example:

glossary,

terminology,

dictionary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you define a term with a definition list with an HTML tag?

A

You use the HTML tag dt

dt stands for definition term

17
Q

What does a dd mean in the context of a definition list?

A

DD stands for definition description

You are describing the term in the dd section.

18
Q

What does the HTML tag DT stand for?

A

Definition Term

The definition term is the word you’re aiming to define in a dictionary, glossary, or terminology context.