CSS stands for Cascading Style Sheets.
CSS saves a lot of work. It can control the layout of multiple web pages all at once.
First reference the CSS file in your html.
You must
do this in the <html> element.
Let change the background color of the whole page first.
You first write down the element.
Now write the brackets as you can see in the image.
In those brackets you will write down the changes you want to see.
To change a certain pharagraph or header, write down the
element.
Each pharagraph or header will change to the written
CSS.
This time lets change the letterype and the textcolor as well as the font size.
The end result will look like the image.
blanditiis harum quisquam eius sed odit fugiat iusto fuga praesentium optio, eaque rerum! Provident similique accusantium nemo autem. Veritatis ouga? Ipsa laudantium molestias eos
Use CSS to set the background color of the document (body) to yellow.
<!DOCTYPE html>
<html>
<head>
<style>
...
...:yellow;
...
</style>
</head>
<body>
<h1>My Home Page</h1>
</body>
</html>
Use CSS to set the text color of the document to red.
<!DOCTYPE html>
<html>
<head>
<style>
body {
....:red;}
</style>
</head>
<body>
<h1>My Home Page</h1>
</body>
</html>