![]() |
HTML Frame![]() ![]() ![]() ![]() ![]()
Frames are similar in many ways to HTML tables. Frames not only organize data, but also organize the browser's display window. In fact, they break up the window into individual, independent panes or frames. Each frame holds its own HTML file as content, and the content of each frame can be scrolled or changed independently of the others. In a way, it's almost as though each frame becomes its own mini browser. Perhaps the best way to get a feel for what can be done with frames is to look at a real world example. The figure shows the frames available in the citibank page. On Web page forms, frames allow queries to be submitted in one frame and the answers can be obtained in some other frame. One f rame holds the query form and the other frame holds the answer frame. The<FRAMESET> tag is used for creating frames. This is an non empty tag that allows the user to define regions in the browser window and assign separate files to each of the frames. The tag requires a mandatory attribute of either ROWS or COLS. The width of the frames can be given in pixels or can be given in percentage of the window. <FRAMESET COLS="25%, 75%"> <FRAMESET ROWS = " 150, * "> The asterisk symbol signifies that the second frame will occupy the rest of the windows, which is not occupied by the first frame.The <FRAME> tag defines what will appear in each of the frames and is enclosed inside the <FRAMESET> tag. The SRC attribute specifies which file will appear I in the frame.
The source files, which are to appear in the frames, should be available before creating the frame set HTML document. The following example illustrates the creation of frameset.
|
|
Domain NamesHTML Evalution of HTML Simple HTML Code Structure of an HTML Document Basic HTML Tags HTML Color Code Background Code Text formatting Tags Tag Attributes and Character Entities Lists and Menus HTML Image CodeHTML Link Code Internal Links HTML Music and Video Code HTML Font Code HTML Forms Tables Image Maps Server Side Image Map Client Side Image Map Defining a Non Rectangular Area HTML Frames Creating Multiple Frames Style Sheets HTML EditorWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |