<link> HTML Tag

In this article I will discuss the <link> HTML Tag.
  • 1730

The HTML link tag is used for defining a link to an external document. It is placed in in the <head> section of the document.

Example

<html>

<head>

    <link rel="stylesheet" type="text/css" href="styles/site.css">

</head>

<body>

    <h1>

        I am formatted with a linked style sheet</h1>

    <p>

        Me too!</p>

</body>

</html>


Output

 

link.jpg


Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

 

© 2020 DotNetHeaven. All rights reserved.