HTML Noframes Tag
The Noframes Element in HTML is used to provide alternative content to those user agents which doesn't support frames.
Warning
Frames are known to pose usability issues, and they are poorly indexed by search engines. Its also hard to bookmark a page which is open in a frame.
Attributes
Standard Attributes
| Attribute: | Value: | Description: | DTD: |
| Attrs | Other Attributes | Common, I18n, Event | F |
DTD. Defines which document type the attribute is allowed. S=Strict, T=Transitional, F=Frameset.
Examples
The simple example.
<frame src="Frame.html"> <noframes> <p>Your browser doesn't support frames</p> </noframes>
The Full Example
The full example.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<head>
<title>HTML Frameset Example</title>
</head>
<frameset cols="25%,75%">
<frame src="Frame1.html">
<frame src="Frame2.html">
<noframes>
<p>Your browser doesn't support frames</p>
</noframes>
</frameset>
</html>Its recommended to include the noframes-element.