- index.html
HTML
<!DOCTYPE html>
<html>
<head>
<title>Basics of CSS</title>
</head>
<body>
<h1>Course outline</h1>
<p style="color: green;">Paired tags.</p>
<p>Single tags.</p>
<p>Tag attributes.</p>
<p>Inline styles.</p>
<p>External Styles.</p>
<p>Styling by class.</p>
</body>
</html>
You have moved to another page
GoalsCompleted
0
Using the style
attribute:
- Make the text color of the first three paragraphs
color: green;
, - and the last three
color: red;
.