Frames example : frameset « Tags « HTML / CSS






Frames example

   

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
  <title>Frames example</title>
</head>

<frameset rows="150, *, 100">
    <frame src="http://www.java2s.com" />
    <frame src="http://www.java2s.com" />
    <frame src="http://www.java2s.com" />
    <noframes><body>Unfortunately, your browser does
      not support this technology. </body></noframes>
</frameset>
</html>

   
    
  








Related examples in the same category

1.'frameset' is used in conjunction with the 'frame' element
2.Set frame size in frameset
3.target="_self" is the default value
4.This link opens a page to replace the frameset
5.This link opens in a frame with the name 'content'
6.rows="120,*"
7.cols="150,*"
8.frameborder="10"
9.rows="150, *, 100"
10.framespacing="5"
11.cols="200, *"
12.frame out of the frameset
13.name="main_frame"
14.cols = "50%,50%"
15.noframes just in case
16.frameset rows="150, *, 100" frameborder="10"
17.'cols' specifies the number of columns and the size of the columns in a frameset
18.'frameborder' displays a border around a frame or frameset
19.'framespacing' creates additional space in pixels between the frames
20.'rows' sets the row number and size in a frameset