Tables And More Lists Flashcards
What are the four tags used in HTML tables?
table
tr
th
td
How do you put the table headings down the left side instead of across the top?
You have to put a table heading in each row instead of all the headings in one row.
Can you use CSS table display to style HTML tables?
Not really because you already created a tabular structure with HTML.
What is tabular data?
A table.
Tables consist of data cells within ______. Columns are implicitly defined within the ______.
Rows
If you know the number of data cells you have in a row, then you know the number of __________ in your table.
Columns
In general, tables are not used for presentation. T or F?
True. Use CSS to style your table.
What do you call the space in between table cells?
Border-spacing
You can’t set the “margin” of an individual cell; rather you set a common spacing around all cells. T or F?
True
For this CSS:
border-spacing: 10px 30px;
Which is the horizontal and which is the vertical border space?
10px is horizontal
30px is the vertical
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
border-collapse: collapse;
What will this styling do?
p:nth-child(even) {
Background-color: red;
}
Color every other child (the even numbers) red
Which attribute do you use to specify how many rows a table data cell should take up?
rowspan
Which attribute is used to span columns?
colspan
What are bullets called in lists?
Markers