CSS Introduction
What is CSS?
CSS stands for Cascading Style Sheets. It controls how HTML elements look, including colors, fonts, spacing, layout, and responsive behavior.
Why use CSS?
- Separate content (HTML) from presentation (CSS).
- Keep a consistent design across many pages.
- Build responsive layouts for phones, tablets, and desktops.
Example
p {
color: navy;
font-size: 18px;
}
This rule makes paragraph text navy and 18 pixels tall.
Try it
Create an HTML paragraph and use CSS to change its color and font size.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses