frameset tag
frame tag
body tag
head tag
TAG: noframes
<noframes> ... </noframes>
The
noframes
tag is used to display an alternative message on browsers that do not recognize frames. Usually, this message advises the user that frames are needed to see the contents of this HTML document. If the browser does recognize frames, then the contents of the
noframes
element are not displayed.
The
noframes
tag must be placed immediately following the first use of the
frameset
tag. The separate closing tag is required.
Attributes and Events
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
This example creates five frames, each with a different background color.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML noframes Tag Example</title>
</head>
<frameset cols="50%, 50%">
<
noframes
>
To be viewed properly, this page requires frames.
<
/noframes
>
<frameset rows="33%, 33%, *">
<frame src="html_frames_red.html" />
<frame src="html_frames_orange.html" />
<frame src="html_frames_yellow.html" />
</frameset>
<frameset rows="50%, 50%">
<frame src="html_frames_green.html" />
<frame src="html_frames_blue.html" />
</frameset>
</frameset>
</html>
Output:
Click here to see the output of this frames example in a separate window.
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information