Tables And More Lists Flashcards

1
Q

What are the four tags used in HTML tables?

A

table
tr
th
td

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

How do you put the table headings down the left side instead of across the top?

A

You have to put a table heading in each row instead of all the headings in one row.

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

Can you use CSS table display to style HTML tables?

A

Not really because you already created a tabular structure with HTML.

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

What is tabular data?

A

A table.

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

Tables consist of data cells within ______. Columns are implicitly defined within the ______.

A

Rows

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

If you know the number of data cells you have in a row, then you know the number of __________ in your table.

A

Columns

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

In general, tables are not used for presentation. T or F?

A

True. Use CSS to style your table.

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

What do you call the space in between table cells?

A

Border-spacing

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

You can’t set the “margin” of an individual cell; rather you set a common spacing around all cells. T or F?

A

True

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

For this CSS:

border-spacing: 10px 30px;

Which is the horizontal and which is the vertical border space?

A

10px is horizontal

30px is the vertical

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

What is the command to collapse a border so that there is no border spacing at all, which also combines the two borders next to each other into one border

A

border-collapse: collapse;

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

What will this styling do?

p:nth-child(even) {
Background-color: red;
}

A

Color every other child (the even numbers) red

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

Which attribute do you use to specify how many rows a table data cell should take up?

A

rowspan

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

Which attribute is used to span columns?

A

colspan

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

What are bullets called in lists?

A

Markers

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

What is the main list property (it allows you to control the markers used in your lists)?

A

list-style-type

17
Q

What are the four marker style types?

A

disc
circle
square
none

18
Q

Which property would you use to set an image to be the marker for a list?

A

list-style-image:

list-style-image: url(images/backpack.gif

19
Q

How do I love thee?

A

Let me count the ways

20
Q

What should you do if you are missing content from a cell in the table?

A

Put an empty cell as a place holder. Otherwise your columns won’t align.