Ep

Ep

What is Iframe? - An Introduction

Html - What is iframe used for?


An Iframe is used to embed another web page within the current web page. IFrames are most often used to insert dynamic content - like ads or widgets.

Syntax : <iframe>...</iframe>

Example

iframe, iframe in html,iframe src,iframe javascript,Inline Frame-HTML
 
Iframe Attributes

 There are following attributes of the Iframe:
  • src="(URL of initial iframe content)"
  • name="(name of frame, required for targeting)"
  • longdesc="(link to long description)"
  • width=(frame width, % or pixels)
  • height=(frame height, % or pixels)
  • align=[ top | middle | bottom | left | right | center ] (frame alignment, pick two, use comma)
  • frameborder=[ 1 | 0 ] (frame border, default is 1)
  • marginwidth=(margin width, in pixels)
  • marginheight=(margin height, in pixels)
  • scrolling=[ yes | no | auto ] (ability to scroll)

For example :

<iframe name="inlineframe" src="test.html" frameborder="0" scrolling="auto" width="500" height="180" marginwidth="5" marginheight="5" ></iframe>

What is Iframe? - An Introduction Reviewed by Ravi Kumar on 2:39:00 PM Rating: 5

No comments:

All Rights Reserved by Etechpulse © 2012 - 2017
Powered By Blogger

Contact Form

Name

Email *

Message *

Powered by Blogger.