Link Tag in HTML || HTML Link Tag
×

HTML LINK <link> Tag

2951

The <link> tag is implemented for linking the current document with an outsourced document.

As <link> tag is an empty tag, so there is no requirement for using the closing tag. It contains only attributes like href, rel, type. While in XHTML, the closing tag (</link>) is required.

Program:

<!DOCTYPE html>
<html>
<head>
<title>Link Tag</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Example of Link Tag</h1>
<p>Here Link Tag Use In Header</p>
</body>
</html>

Output:




Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments