name="main_frame" : frameset « Tags « HTML / CSS






name="main_frame"

   
<?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>Fruit example</title>
</head>

<frameset cols="200, 450, *">
  <frame src="http://www.java2s.com" />
  <frame name="main_frame" src="http://www.java2s.com" />

  <noframes><body>update your browser
   </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.Frames example
9.frameborder="10"
10.rows="150, *, 100"
11.framespacing="5"
12.cols="200, *"
13.frame out of the frameset
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