Posted The: 02/09/2008 At: 15:43
The Noframes Element in HTML is used to provide alternative content to those user agents which doesn't support frames.
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.
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.
The simple example.
<frame src="Frame.html"> <noframes> <p>Your browser doesn't support frames</p> </noframes>
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.
Comments: [0]
© Brugbart Webdesign