Web Programming and computer Blog
Latest news

Main Menu

Html Tags List
Meta Tags
Headings
Backgrounds
Inserting text
Text Manipulation
Linking
Images
Tables
Forms
Color Chart
Frames
Example Web Pages
Contactus


Frames

If you want to add more than one HTML file into your web page, frames are the solution for this issue. When using frames, the web page will be divided into number of sections, and each section is a different page. With the addition of dynamic web pages, frames became less useful feature, but you may find useful and easy to use.

 

Dividing page into a frameset:

Usually, a normal frameset contains at least two frames and one frameset document. Defining only one frame in a web page will be totally un-useful.

framepic.gif (3552 bytes)

 

To set the total area that each frame will cover on the web page, you must define a percent value to each one of them.

To use frames in the web page, you will need to use two tags.

 

Below is an example of creating a frameset using <frameset> tag and <frame> tag:

 

<frameset cols="40%,60%">
<frame src="page1.htm">
<frame src="page2.htm">

 


 

Using Inline Frames:

This new HTML features allows you to integrate embedded frames inside a web page. The frame can be a URL or an internal document.

 

 

The example above shows you how Linkingexpert's Home Page was integrated into this page, using <iframe> tag:

 

<iframe src="www.linkingexperts.com" height="151" width="301">

 

▪ Note that Inline Frames technology is only supported by IE 4.0 and above, and still not supported by netscape browser.

 

Ads

Html Help
Daily Pages that Suck

04/18/2006 10:18 PM
Accessibility
Four new links: "Accessibility Tips for Website Construction", "Alt Text is an Alternative, Not a Tooltip", "Active Discrimination Policy", and "Paul Boag Podcast on Accessibility Guidelines".
04/18/2006 10:18 PM
Cascading Style Sheets
Three new links: "Using Firefox to Wage a Class War", "CSS - Auto-height and margin-collapsing", "Filtering CSS", "Accessibility Navbar", and "Handheld Stylesheets".

© 2005 Htmlhelps.net, Inc. All rights reserved. Terms of Use and Disclaimer