HTML <noframes> Tag
Example
A simple three-framed page, with a <noframes> tag:
<html>
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
<frame src="frame_c.htm" />
<noframes>
Sorry, your browser does not handle frames!
</noframes>
</frameset>
</html> |
Try it yourself » |
Definition and Usage
The <noframes> tag is used for browsers that do not handle frames.
The noframes element can contain all the elements that you can find inside the body element of a normal HTML page.
The noframes element is most used to link to a non-frameset version of the web site or to display a message to users that frames are required.
The noframes element goes inside the frameset element.
Browser Support

The <noframes> tag is supported in all major browsers.
Differences Between HTML and XHTML
Important: In the XHTML Frameset DTD, the text in the noframes element must be enclosed in a body element.
Tips and Notes
Note: If you want to validate a page containing frames, be sure the doctype is set to "Frameset DTD". Read more about doctypes.
Standard Attributes
DTD indicates in which HTML 4.01/XHTML 1.0
DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <noframes> tag supports the following standard attributes:
| Attribute |
Value |
Description |
DTD |
| class |
classname |
Specifies a classname for an element |
TF |
| dir |
rtl
ltr |
Specifies the text direction
for the content in an element |
TF |
| id |
id |
Specifies a unique id for an element |
TF |
| lang |
language_code |
Specifies a language code for the content in an element |
TF |
| style |
style_definition |
Specifies an inline style for an element |
TF |
| title |
text |
Specifies extra information about an element |
TF |
| xml:lang |
language_code |
Specifies a language code for the content in an element, in
XHTML documents |
TF |
More information about Standard Attributes.
Event Attributes
The <noframes> tag supports the following event attributes:
| Attribute |
Value |
Description |
DTD |
| onclick |
script |
Script to be run on a mouse click |
TF |
| ondblclick |
script |
Script to be run on a mouse double-click |
TF |
| onmousedown |
script |
Script to be run when mouse button is pressed |
TF |
| onmousemove |
script |
Script to be run when mouse pointer moves |
TF |
| onmouseout |
script |
Script to be run when mouse pointer moves out of an
element |
TF |
| onmouseover |
script |
Script to be run when mouse pointer moves over an
element |
TF |
| onmouseup |
script |
Script to be run when mouse button is released |
TF |
| onkeydown |
script |
Script to be run when a key is pressed |
TF |
| onkeypress |
script |
Script to be run when a key is pressed and released |
TF |
| onkeyup |
script |
Script to be run when a key is released |
TF |
More information about Event Attributes.
Create a free Flash website with our simple, online web design editing platform. Stunning templates
and user-friendly tools make website building easy and fun.
Start Creating your free website now!

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file,
Excel 2007, XBRL, or Web services data. Then it transforms data instantly or
auto-generates royalty-free code for recurrent conversions.
New features in Version 2010!
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
- Available in 32-bit and 64-bit versions
Download a fully-functional trial today!
|
|
|
|