: The FRAME Element
Last updated: 2026-09-12
<frame>The FRAME Element
Defines one independent sub-window inside a <frameset> that loads another page. HTML5 has deprecated frame/frameset; use <iframe> instead.
| Category | Document Structure |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Self-closing — no closing tag needed |
| Status | Obsolete |
📝 Syntax
<frame src="page.html" name="main">
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
src | URL loaded into this sub-window. | |
name | Name of the sub-window, used by link target. | |
noresize | Prevents the user from resizing the frame. | |
scrolling | Scrollbar behaviour: yes, no or auto. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <frame> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: frame is obsolete and poorly indexed by search engines; use <iframe> or CSS layout.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.