SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML

Introduction to Frames

The HTML frame is a powerful feature that enables a web page to be broken into different unique sections that are related but can be operated independently without depending on each other.

The <Frameset> tag :

The splitting of a browser screen into frames can be done by using <Frameset> and </Frameset> tags.

Attributes of <Frameset>tag :

<Frameset> tags require one of the following attributes depending on whether to divide the screen in rows or columns.

Rows:

This attribute is used to divide the screen horizontally i.e, into multiple rows. Multiple values can be set to this property depending on the required size of each row. Possible values for this attribute are
         Number of pixels or can be expressed as a percentage of the screen resolution

Note:

The symbol * indicates the remaining space.

Cols:

This attribute is used to divide the screen vertically i.e, into multiple columns. Multiple values can be set to this property depending on the required size of each column. Possible values for this attribute are
Number of pixels or can be expressed as a percentage of the screen resolution

Note:

The symbol * indicates the remaining space.

Example:

<Frameset rows="30%,30%,*">               
          ... Rest of the definition here ...
      </Frameset>


Note:

There are several advantages(pros) and disadvantages(cons) of using frames. Now you will be eager to see the advantages and disadvantages of frames.
Advantages of Frames | Disadvantages of Frames

src:

Specifies the url of the document to be loaded into the frame.

MarginWidth:

Specifies  the amount of space to be left along the sides of the frame.

MarginHeight:

Specifies  the amount of space to be left at the top and bottom of the frame.

Name:

Used to give a unique name for the frame. The name must begin with an alphanumeric character.

NoResize:

Disables the resizing capability of the frame.

Scrolling:

This is used to decide whether to have scrollbars (Horizontal , Vertical) in a frame. This possibly take 3 values Yes , No or Auto.

Example:

<Frameset rows="50%,50%">               
            <Frame src="frame1src.html">
            <Frame src="frame2src.html">
     </Frameset>

Number of User Comments : 1


Google+
Frames in HTML pages
Frames in HTML  | Advantages of Frames  | Disadvantages of Frames  | Nested Framesets  | Frame Borders  | Resizable Frames  | Frames with Scrollbars  | NoFrames  | Inline Frame
Nest24-07-2010
nice tutorial...

i have a question, what is html code used to positioning table to the middle of page?
answer please...
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer