CSS Time
CSS Ruleset:
p{
color:blue;
}
CSS inline style(used in html):
<p style='color:blue;'>Hello World!</p>
Style section(nested in header uses CSS Ruleset):
<head>
<style>
p {
color: red;
font-size: 20px;
}
</style>
</head>
Linking CSS file to HTML:
<link href='https://www.codecademy.com/stylesheets/style.css' rel='stylesheet'>
or
<link href='./style.css' rel='stylesheet'>
Top comments (0)