FRAME
FRAMESET
ROWS
- Frame allows you to divide the page into several rectangular areas and to display a separate document in each rectangle.
- Each of those rectangle is known as “Frame”.
- Using frames, you can display multiple HTML document in the same browser window.
- Each HTML document is called a frame, and each frame is independent of the others.
FRAMESET
- The frameset element holds one or more <FRAMESET> or <FRAME> elements. Each frame element can hold a separate document.
Example:NOFRAME
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
<frame src="frame_c.htm" />
</frameset>
- The <noframes> tag is used for browsers that do not handle frames.
- The noframes element can contain all the elements that you can find inside the body element of a normal HTML page.
- The noframes element is most used to link to a non-frameset version of the web site or to display a message to users that frames are required.
- The noframes element goes inside the frameset element.
ROWS
“pixels|percents” defines the row height of each row(vertical) within the frameset. The value of each row height is a comma separated list of sizesCOLS
“pixels|percents” defines the column width of each column(horizontal) within the frameset.The value of each column width is a comma separated list of sizesONLOAD
“script” to specify client-side scripting actions to perform when the frame is loaded.ONUNLOAD
“script” to specify client-side scripting actions to perform when the frame is removedFRAMEBORDER
To give border around all framesBORDER
Controls width of all bordersBORDERCOLOR
To change the color of the frame borders<FRAME> ELEMENT
Defines a frame.ATTRIBUTE
Each frame must contained within a Frameset document that defines the dimension of the frame.
- SRC
- Name
- NoResize
- Scrolling-value(Yes,no or auto)
- Marginheight
- MarginWidth
- FrameBorder-Value(0 or 1),Specifies whether or not to display a border around a frame
0 comments:
Post a Comment