COMPUTER MQ4 Flashcards

Computer

1
Q

The look of an HTML table can be greatly improved with CSS

A

CSS Table

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

Full width of table

A

table
{
width: 100%
}

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

This property sets whether the table borders should be collapsed into a single border.

A

border-collapse

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

This property sets the horizontal alignment (like left, right, or center)

A

text-align property / horizontal alignment

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

This property sets the vertical alignment (like top, bottom. or middle)

A

vertical-align property / vertical alignment

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

To control the space between the border and the content in a table

A

Table padding

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

use the — on <tr> to highlight table rows on mouse over

A

:hover selector

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

add the —– property for horizontal dividers

A

border-bottom property

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

for zebra striped tables, use the —– and add background-color to all even

A

nth-child()

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

specifies the background color and text color of <th> elements

A

table color

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

property you will use to specify a table

A

border

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

specifies if/how an element is displayed

A

display property

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

always starts on a new line and takes up the full width available

A

block-level element

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

does not start on a new line and only takes up as much width as necessary

A

inline-level element

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

changing an inline element to a block element, or vice versa

A

override / override the default display value

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

a display property that results in a line break between the two elements

A

display : block

17
Q

commonly used with JavaScript to hide and show elements without deleting or recreating them

A

display : none

18
Q

controls what happens to content that is too big to fit in the area

A

overflow

19
Q

default; the overflow is not clipped; the content readers outside the element’s box

A

visible

20
Q

the overflow is clipped, and the rest of the content will be invisible

A

hidden

21
Q

the overflow is clipped, and a scrollbar is added to see the rest of the content

A

scroll

22
Q

similar to scroll, but it adds scrollbars only when necessary

A

auto