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


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

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