Skip to main content

Introduction to CSS

0001

What is CSS?
Awesome! You’ve learned how to create a web page using HTML. Now it’s time to learn how to make your web pages look beautiful using CSS. CSS stands for Cascading Style Sheets.
CSS syntax
CSS is a language for styling web pages. CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work.
CSS Box Model
In this lesson, we will learn about the CSS box model. This is a very important concept in CSS. It will allow us to control the size and the position of the elements on our web pages.
Common CSS properties
Text> Text # In this lesson, we will learn about some of the most commonly used CSS properties. We will also learn how to use these properties to style our web pages.
External CSS
Great! You have learned some basic CSS properties and you know how to add CSS to your web page inside the <style> element. This is called internal CSS and it is very useful for small web pages.
Inline CSS
Great, now you know how to add CSS to your web pages inside the head element of your HTML file. You also know how to add an external CSS file to your web page.
Internal CSS
It is time to add some CSS to our web page. We will start by adding CSS to our web page using the <style> element. This is called internal CSS. Just like in the example in the previous lesson, we will add a <style> element to the <head> element of our HTML file.
The importance of CSS
CSS (Cascading Style Sheets) is an essential tool for web development. It is what makes websites look beautiful and feel modern. Without CSS, the web would be a pretty boring place!