Question: You have defined a p tag style as follows:- p
- {
- color: #ff0000;
- font-variant: small-caps
- }
You want the above style to work only on the first line of the paragraph. What modification will you make to the style definition?
- p
- {
- color: #ff0000;
- font-variant: small-caps
- }
A
B
C
D
p:first-only
B
p:first-line
C
p.first-line
D
p:first
Note: Not available