Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | <iframe> longdesc Attribute

  • Last Updated : 14 Oct, 2019

The HTML <iframe> longdesc Attribute is used to specify a page that contains the long description of the content of the iframe element.


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

<Iframe longdesc="URL"> 

Attribute Values:

  • URL: It contains single value i.e URL which specify the page which contains the long description of the content of the frame.
    1. An absolute URL: It points to another website.
    2. A relative URL: It points to a file within a website.


<!DOCTYPE html>
        HTML iframe longdesc Attribute
<body style="text-align:center;">
    <h1 style="color:green;">GeeksforGeeks</h1>
    <h4>HTML iframe longdesc Attribute</h4>
            srcdoc="<p>GeeksforGeeks</p>" id="GFG" 
            longdesc="gfg.txt" height="200" width="400" 


Supported Browsers: The major browsers are not supported by HTML <iframe> longdesc Attribute.

My Personal Notes arrow_drop_up
Recommended Articles
Page :