text aka content Flashcards

1
Q

How do you set the text color?

A

p { color: green; }

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

text-align

A

Sets the horizontal alignment of a text.

center, left, right,

justify // like in newspapers, adds space to fill out towards edges.

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

text-align-last

A

specifies only the last line of content

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

vertical-align

A

sets the vertical alignment of text content

baseline, sup, super

text-top, text-bottom

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

text-decoration

A

*not recommended, can do overline, underline, and strikethrough

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

text-transform

A

Specifies the case in text:

uppercase, lowercase, capitalize

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

text-indent

A

specifies the indent on the first line of text content

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

letter-spacing

A

specifies the distance between letters

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

line-height

A

controls the space between lines of text

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

word-spacing

A

specifies the distance between words

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

white-space

A

specifies how white space is handled

normal, nowrap, pre, pre-line, pre-wrap

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

text-shadow

A

specifies text shadow

text-shadow: horizontal, vertical, blur, color;

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