What are Frames.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ruby17
    Member
    • Sep 2008
    • 56

    What are Frames.

    FRAMES

    With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.

    The disadvantages of using frames are:


    The web developer must keep track of more HTML documents
    It is difficult to print the entire page



    The Frameset TagThe <frameset> tag

    defines how to divide the window into frames
    Each frameset defines a set of rows or columns
    The values of the rows/columns indicate the amount of screen area each row/column will occupy


    The Frame Tag

    The <frame> tag defines what HTML document to put into each frame
    In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The HTML document "frame_a.htm" is put into the first column, and the HTML document "frame_b.htm" is put into the second column:

    <frameset cols="25%,75%">
    <frame src="frame_a.htm">
    <frame src="frame_b.htm">
    </frameset>
  • Guest

    #2
    Disadvantages(Cons) of using Frames :
    1. One of the main disadvantage of frames is search engines will not deal with them properly. i.e, search engines (including most popular ones) will not index pages containing frames as its hard for them to search for a specific content and move backwards to check to which frameset each page belongs to and retrieve all the pages in the frameset.

    2. Its hard to navigate through pages in frames when we have more than two or three frames.

    3. Its difficult to print the content of all frames when compared to a normal web page.

    4.. Some browsers doesn't support frames, so we need to place the content seperately for the people who doesn't have frames using <noframes> ... </noframes>

    5. We cannot bookmark individual pages using browser's Favourites Menu.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎