Pr.Pg Next Pg

<FREAMESET>..</FREAMESET> tag tutorials

  • The <frameset> tag defines a frameset.

  • The <frameset> element holds one or more <frame> elements. Each <frame> element can hold a separate document.

  • The <frameset> element specifies HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.

  • Attributes of <FREAMSET> tag are below:

 

Sr No

Attributes

Descriptions

1

Class

This attribute specifies CSS a class name for an element.

2

ID

This attributes specifies a unique id for an element.

3

STYLE

This attributes specifies the text to the div

4

Title

This attributes specifies an inline style for an element.

5

COLS

This attributes specifies the number and size of columns in a frameset.

6

ROWS

This attributes specifies the number and size of rows in a frameset.

 

Syntax:

<freamset>

<frame>

<frame>

</freamset>

 

Example: HTML frameset program to divide the screen in two columns each 50% screen area and each with some web site

Output:
Example: HTML frameset program to divide a screen in two rows each of 50% screen area and each display some web page

Output:
Example: HTML frameset program to divide a screen in rows and columns

Output:
Pr.Pg border                                              Next Pg