Adding IFrame in a web page


<iframe> tag:

This tag defines a rectangular region in a document in which browser displays separate web page including scroll bars & borders.
<iframe> tag provides following attributes:
Attributes DescriptionValues
align : Sets the alignment of an iframe. left, middle, right, top or bottom
src : The URL of the frame to be appear in region.URL
name : Sets the name for frame so it can be targeted.name
frameborder : Sets the border around the frame.1 or 0
scrolling : Controls the appearance of scroll bars.yes, no, auto
height : Sets the height for frame in pixels.pixels,%
width : Sets the width for frame in pixels. pixels, %

Now let's see this tags with the eg.,
Inserting iframe into your document :
<iframe src ="http://prog101.blogspot.com" width="100%" height="300">
</iframe>
Output :


You Might Also Like

3 comments

  1. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.
    website development company pakistan

    ReplyDelete
  2. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
    website development consultant

    ReplyDelete

Follow by Email

My photo
Hi. I am Ramesh Wetkoli. Three things I try to include in my blog posts are creativity, useful insights, and trendy information. IT graduate and working professional. I have leveraged 9+ years of work experience in IT industry and learnt various technologies, providing merchandizing support and handling digital marketing responsibilities.

Find us on Facebook