There are three ways of inserting a style sheet:

1. External CSS

With an external style sheet, you can change the look of an entire website by changing just one file!

Syntax:

<head>
<link rel="stylesheet" href="mystyle.css">
</head>

2. Internal CSS

An internal style sheet may be used if one single HTML page has a unique style.

<head>
<style>
body {
  background-color: linen;
}

h1 {
  color: maroon;
  margin-left: 40px;
}
</style>
</head>

3. Inline CSS

An inline style may be used to apply a unique style for a single element. To use inline styles, add the style attribute to the relevant element.

<p style="color:red;">This is a paragraph.</p>