Frame Tags in HTML


Frames - Frames create new panels in the web browser window which are used to display content from different source documents.

TagAttributeDescription
FRAME Defines a frame
 name="..."The name of the frame. Used to be accessible by the TARGET tag
 src="..."The source or file to be displayed in the frame
 frameborder="..."Toggles the border between frames (0, 1)
 marginwidth="..."Sets the space between the frame border and content
 marginheight="..."Sets the space between the frame border and content
 noresize="..."Disables sizing
 scrolling="..."Determines scrollbar presence (auto, yes, no)
FRAMESET Defines the layout of frames within a window
 rows="..."The number of rows
 cols="..."The number of columns
 onload="..."The event triggered when the document loads
 onunload="..."The event triggered when the document unloads
IFRAME Creates an inline frame
 name="..."The name of the frame. Used to be accessible by the TARGET tag
 src="..."The source or file to be displayed in the frame
 frameborder="..."Toggles the border between frames (0, 1)
 marginwidth="..."Sets the space between the frame border and content
 marginheight="..."Sets the space between the frame border and content
 scrolling="..."Determines scrollbar presence (auto, yes, no)
 align="..."Controls alignment (left, center, right, justify)
 height="..."Height
 width="..."Width
NOFRAMES Alternative content when frames are not supported