HTML Link Tag Tutorial – Syntax, Uses & Examples
HTML Link Tag Tutorial – Syntax, Uses & Examples
HTML link tag
The LINK element indicates a relationship between the current document and an external LINK The LINK element indicates a relationship between the current document and an external resource. The <link> tag is the most used to the link a external style sheets:
LINK element empty (does not have closing tag), takes to the same attributes as the anchor element.
HTML Link Tag Tutorial
program
The syntax is <link rel=" " href=" ">. rel attribute specifies to the relationship between document containing the hyperlink and the destination resources. href attributes specifies to address of the hyperlink.
HTML link tag program
Explain Program
<!DOCTYPE html>
Declares that the document is an HTML5 document.
<html> & <body>
- Root and body of the HTML page. The content of the page goes inside <body>.
<html> & <body>
- Root and body of the HTML page. The content of the page goes inside <body>.
<head> tag section contains metadata , resources for page.It does not display web page.
contains:
<title> page in browser tabLinks to stylesheets or scripts and Meta tags charset, viewport, SEO data.
<title> link stylesheet </title>
title of the web page.
text use linking stylesheet on web browser tap

Post a Comment