Note/Warning/Danger/Info/Success This tag is deprecated in HTML5. You can use <iframes> instead.
HTML <noframes> tag
Some browsers may not support frames. So, the <noframes> tag is an alternative for the frames.
It acts as a fallback content for the frames(<frame> tag) and is placed inside the <frameset> tag.
In HTML5, there is no need to code the <frameset> tag inside the <body> tag.
The <frameset>, <frame>, and <noframes> elements are removed in HTML5 so you should avoid using them in your HTML5 document.
Syntax:
<noframes>fallback text…</noframes>
Example
<frameset cols="30%"> <frame src="https://www.TutorialBrain.com"> <noframes>Your browser does not support</noframes> </frameset>
Default value
NONE
How Browser will display
BLOCK Level.
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
No difference compared to XHTML | <noframes> tag should be enclosed within the <body> tag | deprecated |
Attributes used with <noframes> tag
NONE
Global Attributes
The <noframes> tag supports global attribute.
Event Attributes
The <noframes> tag support event attribute.
Supporting Browsers
Related Tags
<frameset> & <frame> tags.