Lesson 7 of 9
Link rel Values & SEO Impact
The rel attribute communicates the relationship between your page and linked resources. Understanding rel values is crucial for SEO, security, and performance.
rel Values by Category
SEO: nofollow, sponsored, ugc, canonical, alternate, prev/next
Security: noopener, noreferrer
Performance: preconnect, preload, prefetch, dns-prefetch
Identity: author, license, icon
Diagram
Loading diagramβ¦
The rel attribute communicates link relationships to browsers and search bots
Link rel Example
Link rel Example
<!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="https://priygop.com/courses/html">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
<h1>Link rel Values</h1>
<p><a href="https://example.com" target="_blank" rel="noopener noreferrer">External link (secure)</a></p>
<p><a href="https://advertiser.com" rel="sponsored noopener" target="_blank">Sponsored content</a></p>
<p><a href="https://user-blog.com" rel="ugc nofollow">User's blog (UGC)</a></p>
</body>
</html>Quick Quiz
Finished this lesson?
0 of 9 in Module 3