CSC 263

Unit 11

Lecture
Notes

Assignment

 

Online Home

Hicks Home

HTML Tags Relavant to Frames

Tag and Properties

Description

Frame tags Frame tags are used for creating and formatting frames
<FRAME> The <FRAME> tag defines a single frame within a set of frames

BORDERCOLOR=Color

Specifies the color of the frame border.

FRAMEBORDER=Option
(YES | NO)

Specifies whether the frame border is visible.

FRAMESPACING=Value

Specifies the amount of space between frames, in pixels.

MARGINHEIGHT=Value

Specifies the amount of space above and below the frame object and the frame borders.

MARGINWIDTH=Value

Specifies the amount of space to the left and right of the frame object, in pixels.

NAME=Text

Label assigned to the frame.

NORESIZE

Prevents users from resizing the frame.

SCROLLING=Option
(YES | NO | AUTO)

Specifies whether scroll bars are visible. AUTO (the default) displays scroll bars only as needed.

SRC=Document

Specifies the document or URL of the object to be displayed in the frame.
<FRAMESET> … </FRAMESET> The <FRAMESET> tag marks the beginning and the end of a set of frames.

BORDER=Value

The size of the borders, in pixels.

BORDERCOLOR

The color of the frame borders

COLS=List

The size of each column in set of frames. Columns can be specified either in pixels, as a percentage of the display area or with an asterisks (*) indicating that any remaining space be allotted to that column. e.g.COLS="40,25%,*"

ROWS=List

The size of each row in set of frames. Rows can be  specified either in pixels, as a percentage of the display area or with an asterisks (*) indicating that any remaining space be allotted to that column. e.g.ROWS="40,25%,*"
<NOFRAMES> … </NOFRAMES> Enclosing body tags to be used by browsers which do not support frames.
Frame Related Document Tags  
<BASE> Use the <BASE> tag in order to specify the default target for hyperlinks in a frame layout.   Another use for the <BASE> tag is to specify the default URL of the document

The syntax of the <BASE> tag is:    <BASE HREF=URL>
    where URL is the URL of the document.

Note that the <BASE> tag appears in HEAD section of the HTML file only.

TARGET=Text

Specifies the default target window or frame for every hyperlink in the document
Link tags relavant to Frames  

TARGET=Text

Specifies the default target window or frame for the hyperlink

        

Last updated on March 26, 2002 by L.M. Hicks