<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 | Description | Values |
---|---|---|
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>
</iframe>
2 comments
The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.
ReplyDeletewebsite development company pakistan
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.
ReplyDeletewebsite development consultant