Floating Frame Example : frame « Tags « HTML / CSS






Floating Frame Example

  

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Floating Frame Example</TITLE>
</HEAD>

<BODY>

<H1 ALIGN="CENTER">Floating Frame Example</H1>

<IFRAME NAME="float1" SRC="http://www.java2s.com" WIDTH=350 HEIGHT=200 ALIGN=LEFT>

There would be an floating frame here if your browser supported it.

</IFRAME>

<P>This is a simple example of how floating frames are used. Notice that in many ways the floating frame acts very similar to an inline image. Floating frames act like embedded objects in many ways.</P>

</BODY>
</HTML>


           
         
    
  








Related examples in the same category

1.'frame' creates a single frame within the 'frameset' element
2.Frameset in Columns
3.Frameset in Rows
4.If the frameset is not support
5.Frameset: Column inside Row
6.Noresize Frameset
7.Frameset column with size
8.This document uses frames
9.Frame target: Display, _new, _self, _top
10.Frames example
11.'marginheight' sets the size, in pixels, of the top and bottom margins of a frame
12.'marginwidth' sets the left and right margins in pixels
13.'noresize' Example