12/03/2026
π» Website Design Lesson 10: Introduction to CSS
After learning HTML, the next important technology in web design is CSS.
CSS (Cascading Style Sheets) is used to style and design a website. While HTML creates the structure of the page, CSS makes it beautiful and attractive.
π¨ What CSS can do:
Change text colors
Add backgrounds
Control spacing and layout
Make websites responsive
Create animations and effects
π Example of CSS
h1 {
color: blue;
font-size: 36px;
text-align: center;
}
This code tells the browser to:
Make the heading blue
Increase the size of the text
Align the text to the center
π‘ Important Tip:
A good website is not just about information β it must also look professional and easy to read. That is why CSS is very important.
π Assignment:
Create a simple HTML page and try changing the color and size of the text using CSS.
---
Follow Excel Tech Hub to keep learning:
π Website Design
π» Programming
π Digital Skills