- index.html
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Connecting external styles</title>
<!-- connect external styles here -->
</head>
<body>
<h1>External Styles</h1>
<p>External styles are much more convenient than inline styles because you can plug the same style file into many pages.</p>
<p>If you need to make changes to a style, you change one file and the changes appear on all pages where it's plugged in.</p>
<p>With inline styles, this would be a bit of a hassle.</p>
</body>
</html>
You have moved to another page
GoalsCompleted
0
Connect an external style file to the page. To do this:
- Add a
<link>
tag inside<head>
, - give it a
rel
attribute with the valuestylesheet
- and a
href
attribute with the valueexternal.css
.