dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web
Expertise: Beginner
Sep 4, 1998

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Be Polite to Frameless Browsers

Older browsers that don't support HTML frames won't display anything when they attempt (and fail) to load a page containing the code to set up frames. So a good design tip is to use the <NOFRAMES> </NOFRAMES> tag pair to let users of these older browsers know what has happened.

Browsers that support frames will ignore any code between these two tags. However, browsers that don't understand frames will pick up the code between them and display it. Here's an example of how you can be polite to users of such older browsers:

 
<HTML>
<HEAD>
<TITLE>Example for browsers that don't support frames</TITLE>
</HEAD>
<FRAMESET ROWS="*,45">
<FRAME NAME="topFrame" SRC="home.html"> 
<FRAME NAME="bottomFrame" SRC="navigation.html">
</FRAMESET>
<NOFRAMES>
<BODY>
	Put your code for non-frames browsers here.
</BODY>
</NOFRAMES>
</HTML>
Martin Kelly
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date