![]() |
Definition and UsageThe Applies toThe
Browser SupportThe |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The a rel attribute</h1>
<p><a rel="nofollow" href="https://horje.com/">Horje.com</a></p>
</body>
</html>
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The area rel attribute</h1>
<p>Click on the sun to watch it closer:</p>
<img src="https://horje.com/avatar.png" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" rel="alternate">
</map>
</body>
</html>
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Hello World!</h1>
<h2>I am formatted with a linked style sheet.</h2>
<p>Me too!</p>
</body>
</html>
html rel attribute |
How to add A link with a rel attribute - HTML rel Attribute | HTML Attribute |
How to add An image map, with a clickable area - HTML rel Attribute | HTML Attribute |
How to add An external stylesheet - HTML rel Attribute | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 36 |
Reffered: https://www.w3schools.com/tags/att_rel.asp