target="_self" is the default value : frameset « Tags « HTML / CSS






target="_self" is the default value

   


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
<p><a href="http://www.java2s.com">This link opens in the same frame</a></p>
<p><a href="http://www.java2s.com" target="_self">So does this one!</a></p>
</body>
</html>

   
    
  








Related examples in the same category

1.'frameset' is used in conjunction with the 'frame' element
2.Set frame size in frameset
3.This link opens a page to replace the frameset
4.This link opens in a frame with the name 'content'
5.rows="120,*"
6.cols="150,*"
7.Frames example
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