HTML <frame> Tag
The <frame> tag is not supported in HTML5.The <frame> tag defines one particular window (frame) within a <frameset>.
Each <frame> in a <frameset> can have different attributes, such as border, scrolling, the ability to resize, etc.
Attributes
Attribute | Value | Description |
---|---|---|
frameborder | 0 1 |
Not supported in HTML5. Specifies whether or not to display a border around a frame |
longdesc | URL | Not supported in HTML5. Specifies a page that contains a long description of the content of a frame |
marginheight | pixels | Not supported in HTML5. Specifies the top and bottom margins of a frame |
marginwidth | pixels | Not supported in HTML5. Specifies the left and right margins of a frame |
name | text | Not supported in HTML5. Specifies the name of a frame |
noresize | noresize | Not supported in HTML5. Specifies that a frame is not resizable |
scrolling | yes no auto |
Not supported in HTML5. Specifies whether or not to display scrollbars in a frame |
src | URL | Not supported in HTML5. Specifies the URL of the document to show in a frame |
Example
<!DOCTYPE html> <html> <frameset cols="25%,*,25%"> <frame src="frame1.htm"> <frame src="frame2.htm"> <frame src="frame3.htm"> </frameset> </html>