Hi friends in this post I am sharing iframe tag.Iframe tag is used to display a webpage.Sometimes we can also use to display images or some files if we need. And we can set height and width to the iframe tag.
- First of all goto an online html editor.Copy and paste the below code.
<iframe src="http://techinfoweb.com" width="500" height="500"></iframe> |
And you will get the image like below.Replace http://techinfoweb.com with your link
Use link to Target iframe
This is used to display a link in an iframe .Copy and paste the below code in html editor
<iframe src="http://lh5.googleusercontent.com/-cHJ49hXU9rc/AAAAAAAAAAI/AAAAAAAAAAA/DXO1oBwJjeE/s512-c/photo.jpg" name="iflink"></iframe> |
- When you click the link you will get like below.
- In some browsers iframes are not supported. So check it
- To remove the borders you use frameborder=”0”.And sometimes this also not supports in browser
0 comments :
Post a Comment