Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

HTML <link> disabled attribute

  • Last Updated : 08 Jun, 2021

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.

Syntax:

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

<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: 
 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Apple Safari
  • Opera

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :