HTML | <frame> longdesc Attribute
The HTML <frame> longdesc Attribute is used to specify a page which contains the long description of the content of the frame.
Syntax:
<frame longdesc="URL">
Attribute Values:
- URL: It contains the value i.e URL which specifies 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:
html
<!DOCTYPE html> < html > < head > < title >HTML frame longdesc Attribute</ title > </ head > < frameset cols = "30%, 40%, 30%" > < frame name = "top" src = "https://ide.w3wiki.net/tryit.php" noresize = "noresize" longdesc = "gfg.txt" /> < frame name = "main" src = "https://ide.w3wiki.net/tryit.php" marginwidth = "30" /> < frame name = "bottom" marginwidth = "30" src = "https://ide.w3wiki.net/tryit.php" marginwidth = "40" /> </ frameset > </ html > |
Output:
Note: The <frame> tag is not supported in HTML5.