Horje

Example of using CSS under HTML External CSS Style

External CSS defines <link rel="stylesheet" href="styles.css"> tag. Which can be used under href link .css file. Following is the best example.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://itupto.com/style.css">
</head>
<body>

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

</body>
</html>

Output should be:

Example of using CSS under HTML External CSS Style




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