HTML <noframes> element is utilized to enclose a substitute text for display in case the browser does not render the <frame> content. This feature is effective in scenarios where the browser lacks support for frames; otherwise, it will be disregarded.
The <noframes> tag needs to be placed inside the <frameset> element.
Note: Do not use <noframes> as it is deprecated and currently not supported by HTML5.
Syntax
Example
<noframes>........</noframes>
Here are specific details regarding the HTML <noframes> tag:
| Display | Block |
|---|---|
| Start tag/End tag | Both Start and End tag |
| Usage | With Frames |
Example
Example
<!DOCTYPE html>
<html>
<head>
<title>Noframe tag</title>
</head>
<frameset cols="50%,50%">
<frame src="https://placehold.co/400x300/1abc9c/ffffff?text=Sample+Image">
<frame src="https://placehold.co/400x300/1abc9c/ffffff?text=Sample+Image">
<noframes>Sorry! Your browser does not support frames. </noframes>
</frameset>
</html>
Attribute:
Tag-specific attributes:
The <noframes > element in HTML does not include any particular attribute.
Global attribute:
The <noframes> element exclusively accommodates the global attributes within the HTML language.
Event attribute:
Supporting Browsers
| Element | Chrome | IE | Firefox | Opera | Safari |
|---|---|---|---|---|---|
<noframes> |
Yes | Yes | Yes | Yes | Yes |