Last Updated : 26 Jul, 2022
The Disabled attribute for <link> element in HTML is used to specify that the linked document is disabled. A disabled link is un-clickable and unusable. It is a boolean attribute.
Note: This attribute is not supported in html5.
Syntax:
<link disabled> ----- </link>
Example:
html
<!DOCTYPE html>
<html>
<head>
<link id="linkid"
rel="stylesheet"
type="text/css"
href="styles.css"
sizes="16*16"
hreflang="en-us" disabled>
</head>
<body style="text-align:center;">
<h1>GeeksForGeeks</h1>
<h2><link> disabled Attribute</h2>
</body>
</html>
Output:
Supported Browsers:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4