HTML <noframes> tag is used to contain an alternative text to display if the browser does not support the <frame> content. It will only work, if the browser does not support the frame else, it will be ignored by the browser.
The <noframes> tag should be used within <frameset> element.
Note: Do not use <noframes> as it is deprecated and currently not supported by HTML5.
Syntax
<noframes>........</noframes>
Following are some specifications about the HTML <noframes> tag
Display | Block |
Start tag/End tag | Both Start and End tag |
Usage | With Frames |
Example
<!DOCTYPE html>
<html>
<head>
<title>Noframe tag</title>
</head>
<frameset cols="50%,50%">
<frame src="https://www.javatpoint.com/html-table">
<frame src="https://www.javatpoint.com/css-table">
<noframes>Sorry! Your browser does not support frames. </noframes>
</frameset>
</html>
Attribute:
Tag-specific attributes:
The <noframes > tag does not contain any specific attribute in HTML.
Global attribute:
The <noframes> tag only supports the global attributes in HTML.
Event attribute:
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<noframes> | Yes | Yes | Yes | Yes | Yes |
Leave a Reply