Lists Flashcards

1
Q

What sort of lists are there?

A

Unordered Lists (bulleted) Ordered Lists (numbered) Definition Lists

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

Tag for an ordered list

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

Tag for unordered lists

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

Tag for a list item

A

*

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

How do you nest a list within a list

A

Inside the first list, identify what spot to start the nested list. Then add a list item, and place the next list inside that li tag

  • Oranges
  • Bananas
  • Apples
    • Jazz
    • Royal Gala
  • Figs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When do you use a definition list?

A

When you have a list of terms and their definitions

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

How do you structure a definition list

A

Open a dl tag. Then open a dt tag (this is for the term to define) then open a dd tag (this is for the definition)

<dl>

<p></p>
<dt>Cricket ball</dt>
<dd>A ball used to play cricket</dd>

<p></p>
<dt>Basketball ball</dt>
<dd>A ball used to play basketball</dd>

<p></p>
<dt>Ping pong ball</dt>
<dd>A ball used to play ping pong</dd>

<p></p>
</dl>

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