Free Online Programming Tutorials

Let’s Learn Web Programming!





This is a container which hosts the FRAME,
FRAMESET, and NOFRAME tags.

< FRAMESET
COLS=col-widths
FRAMEBORDER=yes-no
FRAMESPACING=spacing
ROWS=row-heights
BORDERCOLOR=“colorname/rgb format” >

Frames

Defines a single frame in a frameset and there is no matching end tag as this is not a container.


< FRAME
ALIGN=align-type
FRAMEBORDER=yes-no
MARGINHEIGHT=height
MARGINWIDTH=width
NAME=name
SCROLLING=yes-no
SRC=address >

Here’s a simple example

< FRAMESET cols="83,*" >
< FRAME SRC="directory.html" SCROLLING=NO MARGINWIDTH=1 MARGINHEIGHT=1 >
< FRAMESET rows="20%,80%" >
< FRAME SRC="banner.html" >
< FRAME SRC="home.html" NAME="MAIN-WINDOW" >
< /FRAMESET >
< /FRAMESET >

NOFRAMES

Content viewable by browsers that do not support frames. Browsers that support frames will ignore all content between the beginning and ending NOFRAMES tags.

Here’s a quick example to get a better understanding -

< FRAMESET >
< NOFRAMES >You need Internet Explorer 6.0 or higher to view frames!< /NOFRAMES >
< /FRAMESET >

Add A Comment