View video tutorial
CSS TUTORIAL
CSS TUTORIAL
This tutorial is for those who want to learn CSS and create, design and style a website.
CSS creates the presentation.
CSS is the language used to describe the presentation of web pages.
It allows HTML elements to be styled in various aspects, including color, font, size, background, layout, and more.
Example
<!DOCTYPE html>
<html>
<head>
<title>CSS Example</title>
<style>
body {
background-color: rgb(173, 180, 182);
}
h1,p{
color: white;
text-align: left;
}
p {
font-family: verdana;
font-size: 18px;
}
</style>
</head>
<body>
<p>CSS Example</p>
<h1>Heading1</h1>
<p>Heading1 details... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
the industry's standard dummy text ever since the 1500s</p>
<h1>Heading2</h1>
<p>Heading2 details... When an unknown printer took a galley of type and scrambled it to make a type specimen book. It
has survived not only five centuries</p>
</body>
</html>
Click on the "Try it Now" button to see how it works.
Sample Code
Copy each file contents and paste it to your own project and run to see the final output