Horje
How to create The HTML <link> Element in <head>

The <link> element defines the relationship between the current document and an external resource.


Full Example of The HTML <link> Element in <head>

The <link> tag is most often used to link to external style sheets:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head> <title>Page Title</title> <link rel="stylesheet" href="mystyle.css">
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>

Output should be:

Full Example of The HTML <link> Element in <head>





Category :
Web Tutorial
Sub Category :
HTML - The Head Element
Uploaded by :
Admin


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