HTML frameset Tag

The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.

The HTML frameset tag is used to separate the window into frames. For example, you can have a left frame for navigation and a right frame for the main content.

Also see:

Frames are not supported in HTML 5 due to the usability issues that they have caused. Despite this, HTML 5 still allows the <iframe> tag.

Here are the details of the HTML frameset tag:

Example
<html>
<head>
<title>Frameset page<title>
</head>
<frameset cols = "25%, *">
  <noframes>
  <body>Your browser doesn't support frames.
  Therefore, this is the noframe version of the site.</body>
  </noframes>
  <frame src ="/html/tags/frame_example_left.html" />
  <frame src ="/html/tags/frame_example_right.html" />
</frameset>
</html>
View the result
Attributes:
Attributes specific to this tag:
AttributeDescription
rowsSpecifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%
colsSpecifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100%
Other Attributes:
AttributeDescription
classDocument wide identifier.
idDocument wide identifier
titleSpecifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
styleInline style (CSS)
onloadIntrinsic event (see event handlers)
onunloadIntrinsic event (see event handlers)

Also see the HTML 5 version of HTML tags

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!

Sponsored Link: Design CODE-FREE Websites

Check a Domain:

ZappyHost Logo
Webydo Banner Ad