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"
noresize = "noresize"
longdesc = "gfg.txt" />
< frame name = "main"
marginwidth = "30" />
< frame name = "bottom"
marginwidth = "30"
marginwidth = "40" />
</ frameset >
</ html >
|
Output:
Note: The <frame> tag is not supported in HTML5.