Open In App

HTML | <frame> longdesc Attribute

Improve
Improve
Like Article
Like
Save
Share
Report

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.
    1. An absolute URL:It points to another website.
    2. 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.geeksforgeeks.org/tryit.php"
           noresize="noresize"
           longdesc="gfg.txt" />
   
    <frame name="main"
           src="https://ide.geeksforgeeks.org/tryit.php"
           marginwidth="30" />
   
    <frame name="bottom"
           marginwidth="30"
           src="https://ide.geeksforgeeks.org/tryit.php"
           marginwidth="40" />
</frameset>
 
</html>


Output: 
 

Note: The <frame> tag is not supported in HTML5.
 


Last Updated : 26 Jul, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads