Search:The WebTripod   
Lycos.com | Angelfire.com | WhoWhere.com | MailCity.com | Hotwired.com | HotBot.comAll Sites... 
tripod  
Tripod's HTML Tips
  • Overview
  • Basic Page Setup
  • Meta & Header Tags
  • Colors and Body Tags
  • Formatting
  • Links
  • Graphical Elements
  • Text
  • Forms
  • Tables
  • Frames
  • Filenames
  • Sound, Movies and Midis
  • Managing Subdirectories
  • FTP or Uploading Files
  • File and Mime Types
  • Image Maps



  • Send in my tip
    Frames


    32.) HTML frames

    Frames are a way to split the screen into two or more 'sub-screens' so that you can display more than one HTML file at the same time. Frames can be stacked on top of each other, or they can be side by side. Each frame can be scrolled independently of the others.

    <frameset></frameset> Precedes the <body> tag in a frames document; can also be nested in other framesets

    <frameset rows="value,value"> Defines the rows within a frameset, using number in pixels, or percentage of width

    <frameset cols="value,value"> Defines the columns within a frameset, using number in pixels, or percentage of width

    <frame> Defines a single frame - or region - within a frameset

    </noframes> Defines what will appear on browsers that don't support frames
    Frames Attributes
    <frame src="URL"> Specifies which HTML document should be displayed

    <frame name="name"> Names the frame, or region, so it may be targeted by other frames

    <frame marginwidth=#> Defines the left and right margins for the frame; must be equal to or greater than 1

    <frame marginheight=#> Defines the top and bottom margins for the frame; must be equal to or greater than 1

    <frame scrolling=VALUE> Sets whether the frame has a scrollbar; value may equal "yes," "no," or "auto." The default, as in ordinary documents, is auto.

    <frame noresize> Prevents the user from resizing a frame
    Previous Page       Next Page
      © Tripod Inc. Tripod ® is a registered servicemark of Tripod, Inc., a Lycos Company. All rights reserved.
    Advertise with Tripod