Iframe tag is very important tag of the webpage which is used to embed the another page into a page. Iframe defines or creates the inline frame. Iframe means emedding a webpage into another document or page.

<iframe> tag is too easy to implement. The syntax of iframe tag is here.
<iframe src="#"></iframe>

Generally <iframe> tag has two basic attributes: one is width and another height. But there are some other attributes too. They is align which is used to manage the alignment of the frame, and another is sandbox which is new and used for extra restrictions in the frame. There is also scrolling attribute which is not supported by the html 5.  The height and width are determined with the pixel values. We can remove the border of the frame using frameborder attribute is none.

This is an example of iframe tag

You should know that some older browse don't support the iframe.

We can also target the frame onto another page or document. We must refer the target attribute to target the iframe. Target means when you click to the frame, you will direct to the targeted document of page.


Post a Comment

 
Top