CSS Flashcards

0
Q

What does the “display inline-block” positioning property do?

A

This makes the element a block box, but will allow other elements to sit next to it on the same line.

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

What does the “display block” positioning property do?

A

This makes the element a block box. It wont let anything sit next to it on the page! It takes up the full width.

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

What does the “display inline” positioning property do?

A

This makes the element sit on the same line as another element, but without formatting it like a block. It only takes up as much width as it needs (not the whole line).

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

What does the “display none” positioning property do?

A

This makes the element and its content disappear from the page entirely!

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

What does CSS stand for?

A

Cascading Style Sheets

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

What is inline CSS?

A

Inline CSS allows you to do styling directly in the HTML document without worrying about a seperate CSS file.

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

What is the tag attribute for using inline CSS?

A

ex. <p style="font-size: 20px;">

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

What is the CSS style attribute for changing the font size?

A

font-size: px or pts or %

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

What is the CSS style attribute for changing the font color?

A

color:red; or color:#000FFF, etc

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

What is the CSS style attribute for changing the font?

A

font-family: [font name]

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

What is the style attribute for changing color of an html element or webpage’s background?

A

background-color:

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

If you want to change the entire page’s background to a specific color, in which tag would you place the CSS style attribute?

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

What is the style attribute for aligning text within an html document?

A

text-align: [left, right, or center]

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