Sunday, February 22, 2009

HTML(FRAMESET) **SISON**


We learn that with Frames, we can display more than one Web page in the same browser window.


Each HTML document is called a frame, and each frame is independent of the others.
The disadvantages of using frames are the Web developer must keep track HTML documents and it is difficult to print the entire page.

p The frameset tag defines how to divide the window into frames
p Each frameset defines a set of rows or columns
p The values of the rows/columns indicate the amount of screen area each row/column will occupy



TAG
DESCRIPTION
(frameset)_Defines a set of frames
(frame)_Defines a sub window (a frame)
(noframes)_Defines a noframe section for browsers that do not handle frames.
(iframe)_Defines an inline sub window (frame)

v Frameborder=No or Yes defines whether to make the frameborder dividing the windows become visible or not.

v border-=“n” – when the value for frameborder is YES, you can set the thickness of the border in pixels by entering a number to the value.

v Framespacing=“n” defines the spacing between the 2 framesets in the window. The expected value here is a number.

v Bordercolor=“rrggbb” applies color to the border when it is turned on. Replace “rrggbb” with hexadecimal color value.

v Name=“anyname” assigns a name to the frame on the left (if vertical) or top frame (if horizontal) in the frameset definition.

v Noresise tells the browser to lock the border.

v Scrolling=“YES or NO” controls whether the scrollbar is turned on or not. The default is NO. When turned on, and if the page of the document is long, the scrollbar will become visible.

v Scr=“file.html” – the document you’re calling to load in the window. SRC is short for source file.