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

0 comments

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. I.T. graduate and working professional. I have leveraged 6+ years of work experience in I.T. industry and learnt various technologies, providing merchandizing support and handling digital marketing responsibilities.

Find us on Facebook