HTML Elements and Attributes that Create a Frame Based Webpage

HTML Elements and Attributes that Create a Frame Based Webpage
Below is a list of the most commonly used*** html element tags that create a frame based webpage or inline frame.

Note: Some attributes listed below have been depreciated in favor of Cascading Style Sheets.

Element Tags for Frame Based Webpage or Inline Frame
ElementOpening TagAttributesClosing TagDescription
frame<frame>scr="location"
name="id"
scrolling="?"
frameborder="#"
marginheight="x"
marginwidth="x"
noresize
NoneDefines one frame in the frameset

scr - location of file
name - ID for frame
scrolling - yes, no, auto
frameborder - set to zero for no border
marginheight - height in pixels
marginwidth - width in pixels
noresize - prevents resizing of frames
frameset<frameset>cols="%"
rows="%"
border="?"
frameborder="x"
framespacing="x"
</frameset>Sets frame based webpage

cols - percent of entire frameset for each column
rows - percent of entire frameset for each row
border - 0 for off, 1 for on
frameborder - size of border of panes
framespacing - empty space between panes
iframe<iframe>src="location"
height="x or %"
width="x or %"
name="id"
</iframe>Creates an inline frame

src - URL of included file
height - set to pixels or percent
width - set to pixels or percent
name - identifies inline frame
noframes<noframes> </noframes>Content to be displayed if browser cannot display frames
***A complete list of html element tags can be found at the World Wide Web Consortium (W3C) website.
https://www.w3.org/TR/REC-html40/index/elements.html
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.






This site needs an editor - click to learn more!



RSS
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





Content copyright © 2023 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.