Tutorials Point


  HTML Home

  HTML Tags Reference
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

HTML <frameset> tag




Advertisements

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:

AttributeValueDescription
colscolumn sizeSpecifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100%
rowsrow sizeSpecifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%

Standard Attributes:

AttributeDescription
classDocument wide identifier
idDocument wide identifier
titleSpecifies a title to associate with the element.
styleHelps to include inline casecadubf style sheet.
langSets the language code.

Event Attributes:

AttributeDescription
onloadScript runs when framset is loaded
onunloadScript runs when framset is unloaded

Printer Friendly

Advertisements


  

Advertisements