HTML <frame> tag
When writing in HTML, the <frame> tag was a block element used to designate a specific window within a <frameset> element. It was useful in some instances because it allowed each window to have its own set of attributes and could contain an entire document. The following sections contain information about the <frame> tag, including an example of its code, as well as related attributes and browser compatibility.
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The <frame> tag is deprecated, but at one time it utilized the unique attributes contained in the following table.
|frameborder||Toggles frame borders on and off|
|longdesc||Designates that the frame's content has a long description|
|marginheight||Designates both bottom and top margin sizes|
|marginwidth||Designates both right and left margin sizes|
|name||Designates a name for the frame|
|scrolling||Toggles scrollbars for the frame on and off|
|src||Designates the URL of a document to be shown in the frame|
|All versions *||All versions *||All version *||All versions *||All versions *|
*Until it is removed in a future version of HTML