Skip to content
Related Articles

Related Articles

HTML | <frame> longdesc Attribute
  • Last Updated : 30 Sep, 2019

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 poins to another website.
    2. A relative URL: It points to a file within a website.

Example:




<!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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :