Web | This Site

HTML Home
HTML Tags Reference
Selected Reading
© 2011 TutorialsPoint.COM

| Home |  | References |  | Discussion Forums |  | About TP

# HTML <frameset> tag

## Function:

The HTML <frameset> tag is used to divide the window into frames.

## Difference between HTML and XHTML:

NONE

## Example:

    <frameset cols="200, *">
          <frame src="/html/menu.htm" name="menu_page" />
          <frame src="/html/main.htm" name="main_page" />
    </frameset>

## Online Practice:

To Become more comfortable - Do Online Practice

## Attributes:

Attribute | Value | Description
--- | --- | ---
cols | column size | Specifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100%
rows | row size | Specifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%

## Standard Attributes:

Attribute | Description
--- | ---
class | Document wide identifier
id | Document wide identifier
title | Specifies a title to associate with the element.
style | Helps to include inline casecadubf style sheet.
lang | Sets the language code.

## Event Attributes:

Attribute | Description
--- | ---
onload | Script runs when framset is loaded
onunload | Script runs when framset is unloaded

Advertisement

Online Image Processing

Indian Baby Names