Web Development(4)

Day 4

CSS h2{ color:cadetblue; }

About CSS


Inline CSS

We can use it in every line, such as:
<p style="color: darkcyan;" > </p>


Internal CSS

It is used in <head>, for example :
<head>
<style>
h2{ color: azure; }
</style>
</head>


External CSS

A different CSS file is created and then linked in html file, for example:
<head>
<link rel="stylesheet" href="style.css">
</head>