- index.html
- style.css
HTML
<!DOCTYPE html>
<html>
<head>
<title>Other ways to connect CSS</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Course outline</h1>
<p style="color: green;">Paired tags.</p>
<p style="color: green;">Single tags.</p>
<p style="color: green;">Tag attributes.</p>
<p style="color: green;">Inline styles.</p>
<p style="color: red;">External Styles.</p>
<p style="color: red;">Styling by class.</p>
</body>
</html>
CSS
/*
body {
font-family: "Tahoma", serif;
}
p {
color: green;
}
*/
You have moved to another page
GoalsCompleted
0
- Remove all
style
attributes from paragraphs, - then remove the
/*
characters in the first line of the CSS editor.