An inline frame : iframe « Tags « HTML / CSS






An inline frame

   
<?xml version="1.0" ?>
<!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" lang="en" xml:lang="en">

<head>
  <title>An inline frame</title>
</head>

<body>

<h1>Floating frame</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut risus tellus, hendrerit id, sagittis sed, lobortis eget, augue.
  <iframe src="http://www.java2s.com">
    you might need to upgrade your browser.
  </iframe>
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut risus tellus, hendrerit id, sagittis sed, lobortis eget, augue.</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.target="iframe"
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