CSS properties control how elements look on a web page.
Learning the most common properties helps you style pages quickly.
In this lesson, you will learn the most used beginner CSS properties.
1. Text Color
The color property changes the color of text.
This makes all paragraphs blue.
2. Background Color
The background-color property changes the background of an element.
This changes the background of the page.
3. Font Size
The font-size property controls the size of text.
This makes the heading bigger.
4. Font Family
The font-family property changes the style of text.
This sets the main font of the page.
5. Text Alignment
The text-align property controls how text is aligned.
This centers the heading.
Why These Properties Matter
These properties are used in almost every website.
Why This Matters for Jobs
Employers expect beginners to know basic styling.
These properties form your CSS foundation.
Practice Task
Create a small CSS file and:
- Change text color
- Set a background color
- Adjust font size
- Align a heading
What You Will Learn Next
In the next lesson, you will practice styling your first web page.