iframe code example

An inline frame is used to embed another document within the current HTML document.

Syntax    <IFRAME>...</IFRAME>


 Example:
 <iframe frameborder="0" scrolling="no" width="130" height="198"  
 src="../images/eightball.gif" >  
 <p>iframes are not supported by your browser.</p>  
 </iframe>  




Attribute Specifications   
SRC=URI (URI of frame content)
NAME=CDATA (name of frame)
LONGDESC=URI (link to long description)
WIDTH=Length (frame width)
HEIGHT=Length (frame height)
ALIGN=[ top | middle | bottom | left | right ] (frame alignment)
FRAMEBORDER=[ 1 | 0 ] (frame border)
MARGINWIDTH=Pixels (margin width)
MARGINHEIGHT=Pixels (margin height)
SCROLLING=[ yes | no | auto ] (ability to scroll)

 Example image
iframe code example iframe code example Reviewed by Unknown on 3:57 PM Rating: 5

No comments:

Powered by Blogger.