what is frameset in html

what is frameset in html

1 year ago 86
Nature

A frameset is an HTML element used to divide a browser window into multiple sections, where each section can load a separate HTML document. The <frameset> element contains one or more <frame> elements, and it is used to specify the number of rows and columns in the frameset with their pixel of spaces. Each frame can hold a separate document. The <frameset> tag is not supported in HTML5, and it is discouraged in favor of using <iframe> . The <frameset> element supports the following attributes:

  • cols: used to create vertical frames in a web browser. This attribute is basically used to define the number of columns and their size inside the <frameset> tag.
  • rows: used to create horizontal frames in the web browser. This attribute is used to define the number of rows and their size inside the <frameset> tag.
  • border: defines the width of the border of each frame in pixels. Zero value is used for no border.
  • frameborder: specifies whether a three-dimensional border should be displayed between the frames or not. For this, use two values 0 and 1, where 0 defines no border and value 1 signifies for yes there will be a border.
  • framespacing: specifies the amount of spacing between the frames in a frameset.

Note that the <frameset> element is not typically used by modern websites, and it may only be kept for compatibility purposes.

Read Entire Article