Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , , , , , ,

Sponsored Links



How to use Frameset Tag in HTML?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-01-2010
MELTRONICS's Avatar
Member
 
Join Date: Aug 2006
Posts: 226
How to use Frameset Tag in HTML?

I have done with the basic things in HTML. Now I am stuck while using the Frameset Tag in HTML. I am using the frames, so that I can display more than one HTML document in the same browser window. I am little succeeding while using the Frame tag. But I think that I require more information about the Frame tag. Can anyone explain me how to use Frameset Tag in HTML? Please help me sooner.!
__________________
3.2 (northwood)
2gig ram
ATI AIW X800xt 256mb
Gigabyte GA-8knxp 875p Chipset
Optiwrite 8X DVD Burner
Win XP PRO Sp2 (Works Perfectly)
2 SATA Raptor 74gig Raid 0
2 7200 IDE 320gig HD
Reply With Quote
  #2  
Old 29-01-2010
Allan.d's Avatar
Member
 
Join Date: Mar 2008
Posts: 672
Re: How to use Frameset Tag in HTML?

The main feature of the frame tag is to display more than one HTML document in the same browser window. You can call the HTML document is called a frame, and each frame is independent of the others. Also there are some disadvantages of using the frames. They are :
  • It is difficult to print the entire page.
  • The track of more HTML documents should be kept by the web developer.
The <frameset> tag defines how to divide the window into frames.
Reply With Quote
  #3  
Old 29-01-2010
Warner's Avatar
Member
 
Join Date: Mar 2008
Posts: 349
Re: How to use Frameset Tag in HTML?

The Frameset Tag is used in HTML for the following reasons :
  • Each frameset defines a set of rows or columns.
  • The <frameset> tag defines how to divide the window into frames.
  • The values of the rows/columns indicate the amount of screen area each row/column will occupy.
The <frame> tag defines what HTML document to put into each frame.
Hope that you know what exactly does the Frameset Tag do in HTML.
Reply With Quote
  #4  
Old 29-01-2010
Member
 
Join Date: Nov 2008
Posts: 997
Re: How to use Frameset Tag in HTML?

You can check the following example, for understanding the use of frameset tag. In the example that I have mentioned below, have a frameset with two columns. The first column is set to 30% of the width of the browser window. And the second column is set to 70% of the width of the browser window. The HTML document "trialframe_1.htm" is put into the first column, and the HTML document "trialframe_2.htm" is put into the second column :
HTML Code:
<frameset cols="30%,70%">
   <frame src="trialframe_1.htm">
   <frame src="trialframe_2.htm">
</frameset>
Reply With Quote
  #5  
Old 29-01-2010
Viensterrr's Avatar
Member
 
Join Date: Jul 2006
Posts: 232
Re: How to use Frameset Tag in HTML?

You can also set the value of Column size in pixels (cols="150,550"), and one of the columns can be set to use the remaining space (cols="25%,*"). A simple example is dividing the screen in two columns, the first with 300 pixels of width and the second with all the remaining space.
HTML Code:
Code begin <frameset cols="300,*">
<frame name="first" noresize="noresize" src="trial1.html">
<frame name="second" noresize="noresize" src="trial2.html">
</frameset>
__________________
Signatures reduce available bandwidth
Reply With Quote
  #6  
Old 29-01-2010
Member
 
Join Date: Nov 2008
Posts: 1,193
Re: How to use Frameset Tag in HTML?

If you want to divide the screen in frames, then there are unlimited possibilities to do that. Frames are subdivided by replacing a single frame by a frameset. Below is an example of the same :
HTML Code:
<frameset rows="150,*">
<frame name="source" noresize="noresize" src="source.html">
<frameset cols="200,*>
<frame name="direction" noresize="noresize" src="direction.html">
<frame name="matter" noresize="noresize" src="matter.html">
</frame>
</frameset>
Reply With Quote
  #7  
Old 29-01-2010
Deabelos's Avatar
Member
 
Join Date: Jul 2006
Posts: 233
Re: How to use Frameset Tag in HTML?

I am trying to explain you in easy way. So I am giving you simple example of the frameset.
HTML Code:
<frameset cols="250,*" border="7" bordercolor="Aqua">
Here are the attributes of frameset :
  1. cols * - actually splits the page up into columns. values: if a regular number is there, the value is in pixels; if there is a percentage there, it is a percentage of the whole screen there, and if there are asterisks there, then the * is whatever is left over.
  2. rows * - this one also splits the page up, and can be used instead of cols.
  3. frameset * - tells the browser to look for frames.
  4. border - this manipulates the width of the separators between the frames; values are in pixels.
I would like to suggest you not to use all pixel values, not all screens have the same resolution. Always have at least one * when using pixels.
__________________
IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use Frameset Tag in HTML?"
Thread Thread Starter Forum Replies Last Post
html help saffu khan Software Development 3 03-05-2010 02:01 PM
How to define HTML Validator and services provided by HTML Validator Aldous Software Development 3 22-09-2009 02:12 PM
How can i use Frameset in asp.net Atilla Software Development 2 17-04-2009 12:08 PM
HTML and CSS to PDF Miltongomes Software Development 3 18-03-2009 11:25 PM
How do I get the HTML code to display as HTML code? NAYASA Software Development 3 26-12-2008 01:35 PM


All times are GMT +5.5. The time now is 05:25 AM.