Search the Whole World Here.,.,

External CSS

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

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

To use an external style sheet, add a link to it in the head section of the HTML page:

Example

<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="styles.css">
</head>
<body>

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

</body>
</html>
Try it Yourself »
An external style sheet can be written in any text editor. The file must not contain any

 HTML code, and must be saved with a .css extension.

Here is how the "styles.css" looks:
body {
    background-color: powderblue;
}
h1 {
    color: blue;
}
{
    color: red;
}


EmoticonEmoticon