target="iframe" : iframe « Tags « HTML / CSS






target="iframe"

   

<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
  <title>Football focus</title>
</head>

<body>
  <h1>Quarter Final - Wintertons Cup</h1>

  <h3>
    <a href="" target="iframe">R</a> 
    vs
    <a href="" target="iframe">B</a>
  </h3>

  <p><iframe name="iframe" width="300" height="150" src="http://www.java2s.com" align="left"></iframe>
this is a test. this is a test.  
  </p>

</body>
</html>

   
    
  








Related examples in the same category

1.'iframe' identifies a frame that can be placed anywhere inside a document
2.Use css to replace iframe
3.iframe style
4.An inline frame
5.'allowtransparency' creates the transparent frames
6.'scrolling' sets whether a frame should have a scroll bar or not
7.'security' sets whether the source file has security restrictions