Frame
Frames allow authors to present document in multiple views. _frameset command replaces the _body command to divide web page into several frames. 'cols' attribute specifies frames that are divided along the column. The 'cols' value specifies the width of each columns. You may specifies any number of columns with length such as '33%, 67%'. 'rows' attribute specifies frames that are divided along the row. When both rows and cols are set simultaneously _frameset command creates a grid. Frames are created from left to right for the columns and from top to bottom for the rows. _frameset may be nested to any level. 'frameborder' attribute with value '0' will hide the frame border and value '1' will show a 3D border. Finally, 'framespacing' attribute specifies the number of whitespaces between frames.
The _frame command in the content of _frameset loads the html file from the 'src' attribute value. Its 'name' attribute is an id that allows other commands target this frame. The value '1' of the 'frameborder' attribute draws a border around the frame and the value '0' makes no border. 'marginheight' and 'marginwidth' specify the margin height and width of a frame. The value 'yes' of the 'scrolling' attribute makes browser display a scrolling bar on the frame. The value 'no' will hide the scrolling bar.
The content of the _noframes command is compabitiable to the browser that does not support the frame.
_html "xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'"
_head
_title; quote "Frame"; title_
head_
_frameset "cols='33%, 67%' frameborder='0' framespacing='1'"
__frame "name='index' src='index.html'"
__frame "name='content' src='content.html'"
frameset_
_noframes
quote "older browser without frame."
noframes_
html_
|