HTML tutorial-Frame |
||||||||||||||
FrameTo display multiple web pages in the same window you can use frames. Each frame can contain only one page.The HTML frameset Element The frameset element holds two or more frame elements. Each frame element holds a separate web page. The frameset uses rows or cols attribute to specify the number of rows or columns that the frame will contain. The height of the rows or the width of columns will be supplied as the values of rows or cols attributes. Some browsers do not support frame and you need to use <noframes> tag to contain the content of the web page that you want the users to see. Example: <html> <head> <title>Two columns frame</title> </head> <frameset cols="80%,20%"> <frame src="anchor-link.html"> <frame src="Table.html"> </frameset> <noframes> The users with the browsers that don’t support frames can see this content. </noframes> </html>
|
||||||||||||||
|
||||||||||||||