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.
Syntax:
<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.
- An absolute URL: It points to another website.
- A relative URL: It points to a file within a website.
Example:
<!DOCTYPE html>
< html >
< head >
< title >
HTML iframe longdesc Attribute
</ title >
</ head >
< 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"
name="myGeeks">
</ iframe >
</ body >
</ html >
|
Output:
Supported Browsers: The major browsers are not supported by HTML <iframe> longdesc Attribute.
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...