Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
frameset tag
frame tag
iframe 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information