CSS Text Decoration (Line Through Text) Flashcards

1
Q

Use a CSS property that allows you to add a line to text. This can be an underline, overlain ext.

A

p{
text-decoration: underline;
}

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

Use a CSS property that allows you to specify/define the color of the line going through, under, over ext text

A

p{
text-decoration-color: red
}

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

Use a CSS property that allows you to decorate/style the decoration line to your liking.

A

p{
text-decoration-style: double;
}

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

Use a CSS property that allows you to specify the thickness of the decoration line.

A

p{
text-decoration-thickness: 5px;
}

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