Menu
×
×
Correct!

Exercise:

Set text color to "red", and the text size to "xx-large", for the first letter of the <p> element.

Hint: Use the ::first-letter pseudo-element.

Edit This Code:
Result:
Correct Code:
Result:
Go to w3schools.com
Reset Score
Close This Menu

 

CSS Selectors
CSS How To...
CSS Background
CSS Border
CSS Margin
CSS Padding
CSS Height/Width
CSS Box Model
CSS Outline
CSS Text
CSS Font
CSS Links
CSS Lists
CSS Tables
CSS Display/Visibility
CSS Positioning
CSS Overflow
CSS Align
CSS Combinators
CSS Pseudo-classes
CSS Pseudo-elements
CSS Opacity
CSS Attribute Selectors
CSS Rounded Corners
CSS Border Images
CSS Backgrounds
CSS Colors
CSS Gradients
CSS Shadow Effects
CSS Text Effects
CSS Web Fonts
CSS 2D Transforms
CSS 3D Transforms
CSS Transitions
CSS Animations





×

Reset the Score?

This will reset the score of ALL 138 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 138 CSS exercises.

Share your score on facebook:



Get Certified!

Take our CSS Developer Certificate to prove that you have fundamental knowledge of web development using CSS.