HTML

HTML Projects

HTML Project

adplus-dvertising
HTML FRAMES
Previous Home Next

Frames allow you to divide the page into several rectangular areas and to display a separate document in each rectangle.Each of those rectangles is called a "frame". Frames are very popular because they are one of the few ways to keep part of the page stationary while other parts change. Frames are also one of the most controversial uses of HTML, because of the way the frames concept was designed,and because many web framed web sites are poorly implemented. Frames can divides the window vertically as well horizontally

HTML Frames Tags

<frameset>: This defines a set of frames

<frame />: It defines a sub window (a frame)

<noframes>: It defines a noframe section for browsers that do not handle frames

<iframe>: This defines an inline sub window (frame)

<frameset cols="45%,555%">
   <frame src="frame_a.htm" />
   <frame src="frame_b.htm" />
</frameset>

As frame set divides the browser window into columns here in above example the browser window is divided the first column is the 45% width of the browser window and second column is the 55% width of the browser window.frame size can also be set in pixels as (cols="200,500"), and one of the columns can be set to use the remaining space,with an asterisk (cols="25%,*").

Previous Home Next