<FRAMESET> Tag & its Attribute

HTML Tag <FRAMESET>

<FRAMESET> Contains frame definitions and specifies frame spacing, dimensions, and attributes. Place <FRAME> tags inside <FRAMESET> tags.

Attribute of <FRAMESET> Tag

BORDER

Specifies the thickness of borders (in pixels) around frames defined within the frameset. You can also control border thickness with the <FRAME> tag.

<FRAMESET COLS="*,150" BORDER=5>
<FRAME SRC="left.html" NAME="main">
<FRAME SRC="side.html" NAME="side">
</FRAMESET>


Possible Values

Positive Integer Number.



BORDERCOLOR

Sets the color of the frame borders. Color names can substitute for the hexadecimal RGB color values.

<FRAMESET BORDERCOLOR="Red"
ROWS="100,*">
<FRAME SRC="top.html" NAME="title">
<FRAME SRC="story.html" NAME="Story">
</FRAMESET>


Possible Values

Color Name or hexadecimal color code.



COLS

Specifies the number and dimensions of the vertical frames within the current frameset. Set COLS= to a comma-separated list of numbers or percentages to indicate the width of each frame. Use the asterisk (*) to represent a variable width. A frame of variable width fills the space left over after the browser formats space for the other frames (<FRAMESET COLS="100,400,10% *">). Setting COLS= with percentage values controls the ratio of frame horizontal space relative to the amount of space available within the browser (<FRAMESET COLS="10%,*">). You cannot use COLS= and ROWS= in the same tag.

<FRAMESET COLS="*,100,*">
<FRAME SRC="left.html" NAME="left">
<FRAME SRC="middle.html" NAME="middle">
<FRAMESET ROWS=2>
<FRAME SRC="top.html" NAME="top">
<FRAME SRC="bottom.html"
NAME="bottom">
</FRAMESET>
</FRAMESET>


Possible Values

value in Pixel, Percentage, * for all.



FRAMESPACING

Specifies the space (in pixels) between frames within the browser window.

<FRAMESET ROWS="*,100" FRAMESPACING=10>
<FRAME SRC="top.html" NAME="top">
<FRAME SRC="middle.html" NAME="middle">
</FRAMESET>


Possible Values

Positive integer number.



ROWS

Specifies the number and dimensions of the horizontal frames within the current frameset.

<FRAMESET ROWS="*,100,*">
<FRAME SRC="top.html" NAME="top">
<FRAME SRC="middle.html" NAME="middle">
<FRAMESET COLS=2>
<FRAME SRC="bottom1.html" NAME="left">
<FRAME SRC="bottom2.html" NAME="right">
</FRAMESET>
</FRAMESET>


Possible Values

Value in Pixel or Percentage.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz