An external style sheet is a separate file where you can declare all the styles that you want to use on your website.
It uses the <link>
tag on every pages and the <link>
tag should be put inside the <head>
tag.
An external style sheet is a separate file where you can declare all the styles that you want to use on your website.
It uses the <link>
tag on every pages and the <link>
tag should be put inside the <head>
tag.
See this example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of External CSS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph</p>
</body>
</html>