HTML noframes Tag
-
HTML <noframes> tag is used to provide a fallback content to the browser that does not support the <frame> element.
-
Usually, The <noframes> tag contain any HTML elements that represents exception (user's browser doesn't support frames) of the <frameset> and <frame> tags.
-
HTML <noframes> tag remove in HTML5 specification.
Example
frame_1.html
<html>
<body style="background-color:#ff9900;">
<h2 align="center">First frame (frame_1.html)</h2>
</body>
</html>
frame_2.html
<html>
<body style="background-color:#ffcc00;">
<h2 align="center">Second frame (frame_2.html)</h2>
</body>
</html>
frame_example1.html
<html>
<head>
<title>HTML noframes tag<title>
</head>
<frameset rows="35%, 65%">
<frame src ="frame_1.html" />
<frame src ="frame_2.html" />
<noframes>Your browser does not support frames.</noframes>
</frameset>
</html>
<noframes> Tag Attributes
HTML <noframes> tag does not support any specific attributes.
Global Attributes
HTML <noframes> tag support following global attributes.
Attributes | Value | Description |
---|---|---|
id | unique_name | Declared unique id for an element. |
class | class_name | Declared one or more classnames for an element. |
style | styles | CSS inline styles specify an element. |
title | title | Specify extra details of element contain, this will display as a "tooltip" for an elements. |
Event Attributes
HTML <nav> tag does not support any event attributes.
Browser Compatibility
- Google Chrome
Yes - Mozilla Firefox
Yes - Microsoft Edge
Yes - Opera
Yes - Safari
Yes