In this post, we will see how to embed one website into another website using iframe tag.
Suppose you want to embded www.bbc.com in your website. Then add following code to your website or webpage. Use iframe tag. Set src attribute with target website name (here www.bbc.com). Set values to height, width, frameborder attributes as per your requirement.
<div>
<iframe frameborder="0" height="2000" width="800" src="http://www.bbc.com/" >
</iframe>
</div>
For e.g. when I am putting above code to this webpage, result is as follows:
Suppose you want to embded www.bbc.com in your website. Then add following code to your website or webpage. Use iframe tag. Set src attribute with target website name (here www.bbc.com). Set values to height, width, frameborder attributes as per your requirement.
<div>
<iframe frameborder="0" height="2000" width="800" src="http://www.bbc.com/" >
</iframe>
</div>
For e.g. when I am putting above code to this webpage, result is as follows:
No comments:
Post a Comment