#1
|
|||
|
|||
HTML Frames
With frames, you can display more than one Web page in the same browser window.
Examples Vertical frameset This example demonstrates how to make a vertical frameset with three different documents. Horizontal frameset This example demonstrates how to make a horizontal frameset with three different documents. (You can find more examples at the bottom of this page) 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:
Note: The frameset column size value can also be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space (cols="25%,*"). Basic Notes - Useful Tips If a frame has visible borders, the user can resize it by dragging the border. To prevent a user from doing this, you can add noresize="noresize" to the tag. Add the Important: You cannot use the tags together with the tags! However, if you add a More Examples How to use the This example demonstrates how to use the Mixed frameset This example demonstrates how to make a frameset with three documents, and how to mix them in rows and columns. Frameset with noresize="noresize" This example demonstrates the noresize attribute. The frames are not resizable. Move the mouse over the borders between the frames and notice that you can not move the borders. Navigation frame This example demonstrates how to make a navigation frame. The navigation frame contains a list of links with the second frame as the target. The file called "tryhtml_contents.htm" contains three links. The source code of the links: Frame a Frame b Frame c The second frame will show the linked document. Inline frame This example demonstrates how to create an inline frame (a frame inside an HTML page). Jump to a specified section within a frame This example demonstrates two frames. One of the frames has a source to a specified section in a file. The specified section is made with in the "link.htm" file. Jump to a specified section with frame navigation This example demonstrates two frames. The navigation frame (content.htm) to the left contains a list of links with the second frame (link.htm) as a target. The second frame shows the linked document. One of the links in the navigation frame is linked to a specified section in the target file. The HTML code in the file "content.htm" looks like this: Link without Anchor Link with Anchor. Similar Threads:
|
#2
|
|||
|
|||
Vertical frameset
This example demonstrates how to make a vertical frameset with three different documents. |
#3
|
|||
|
|||
Horizontal frameset
This example demonstrates how to make a horizontal frameset with three different documents. |