CSS stands for Cascading Style Sheet, it is used to design web pages.
There are number of properties which makes web pages more beautiful and structured.
As you have seen facebook, instagram, youtube all websites are uses CSS and CSS make them more beautiful and well structured and nice user experience.
How to write CSS for web pages?
There are three ways to write CSS for web pages.
- Internal CSS
- External CSS
- Inline CSS
Internal CSS
CSS can be write with style tag in head tag.
<html>
<head>
<style>
p{
color : red;
}
</style>
</head>
<body>
<p>
www.capscom-technology.com
</p>
</body>
</html>
External CSS
CSS can be write externally with .css extension and after that css can be link with html page.
<link rel="stylesheet" href="file_name.css">
Inline CSS
CSS can be write with style tag for individual tag.
<p style="color:red;">
www.capscom-technology.com
</p>