HOME
HTML Basic
HTML
Introduction HTML
Basic Tags HTML
Formatting HTML
Entities HTML
Links HTML
Frames HTML
Tables
HTML
Lists HTML
Forms HTML
Images HTML
Background HTML
Colors
HTML Advanced HTML
Fonts HTML
Styles HTML
Head HTML
Meta HTML
Scripts HTML Events
|
what is Frame
frame is complte html document that appears inside of,or alongside,one or more other html documents the same browser window
to create frames youll need to create new type of html document called Frameset. a frameset is a special type og html document that defines how many frames will
be dispalyed and which html documents will appear in each frame.
HTML frames allow authors to present documents in multiple views, which may be independent windows or subwindows. Multiple views offer designers a way to keep certain information visible, while other views are scrolled or replaced. For example, within the same window, one frame might display a static banner, a second a navigation menu, and a third the main document that can be scrolled through or replaced by navigating in the second frame.
|
Simple frame example
|
that might create a frame layout something like this:
---------------------------------------
| | |
| | |
| Frame 1 | |
| | |
| | |
|---------| |
| | Frame 3 |
| | |
| | |
| | |
| Frame 2 | |
| | |
| | |
| | |
| | |
---------------------------------------
|
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:
The Frameset Tag-
The
-
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
|
|
|