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





Related Articles
What is HTML CSS HTML CSS
How to use CSS HTML CSS
How to use HTML Inline CSS HTML CSS
How to use HTML Internal CSS HTML CSS
How to use HTML External CSS HTML CSS
How to create HTML CSS Colors, Fonts and Sizes HTML CSS

Single Articles
Full Example of HTML External CSSHTML CSS

Read Full:
HTML CSS
Category:
Web Tutorial
Sub Category:
HTML CSS
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
61


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_css_external

Share on: