Google
 

Monday, December 3, 2007

Frame Tags

(borders, margins, etc)
 

------------------------------------------------------------------------------------------------------------

HTML tags - Frame Tags

------------------------------------------------------------------------------------------------------------

<FRAMESET> set of frames </FRAMESET> - Frame Document, this defines a set of frames. This tag can also be nested inside other <FRAMESET> tags.


<FRAMESET COLS=value,value> - defines how many and the size of the columns within the frameset. Where value is the size given in pixels or %.


<FRAMESET ROWS=value,value> - defines how many and the size of the rows within the frameset. Where value is the size given in pixels or %.


<FRAME> - defines a frame within the frameset.


<NOFRAMES> - </NOFRAMES> - defines the content to be shown to a browser that is not frame enabled.


below are some attributes to be used along with the <FRAME> tag :


<FRAME NAME="????"> - defines the name of the frame allowing other frames to reference it.


<FRAME SRC="URL"> - defines the HTML document to be displayed by default, where URL is the URL of the document to be displayed.


<FRAME SCROLLING=???> - depicts whether the frame has a scroll bar or not, where ??? is either YES , NO or AUTO. For example if you wanted a frame without a scroll bar you would use <FRAME SCROLLING=NO>.


<FRAME MARGINWIDTH=?> - defines the left and right margins for the frame, where ? is a value of 1 or higher.


<FRAME MARGINHEIGHT=?> - defines the top and bottom margins for the frame, where ? is a value of 1 or higher.


<FRAME NORESIZE> - denotes that the frame can not be resized by the user in the browser.

No comments: