Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

<frameset>

The<frameset>HTML element is used to contain<frame> elements.

Note:Because the use of frames is now discouraged in favor of using<iframe>, this element is not typically used by modern websites.

Attributes

Like all other HTML elements, this element supports theglobal attributes.

colsDeprecated

This attribute specifies the number and size of horizontal spaces in a frameset.

rowsDeprecated

This attribute specifies the number and size of vertical spaces in a frameset.

Example

A frameset document

A frameset document has a<frameset> element instead of a<body> element. The<frame> elements are placed within the<frameset>.

html
<!doctype html><html lang="en-US">  <head>    <!-- Document metadata goes here -->  </head>  <frameset cols="50%, 50%">    <frame      src="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe" />    <frame      src="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/frame" />  </frameset></html>

If you want to embed another HTML page into the<body> of a document, use an<iframe> element.

Specifications

Specification
HTML
# frameset

Browser compatibility

See also

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp