Horje
How to use HTML External CSS

An external style sheet is used to define the style for many HTML pages.


Full Example of HTML External CSS

To use an external style sheet, add a link to it in the <head> section of each HTML page:
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Output should be:

Full Example of HTML External CSS





Category:
Web Tutorial
Sub Category:
HTML CSS
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference