Html5 iframe tag

In the html5 <iframe> tag is used to create a inline frame in another html page and also it tag use to embed other page with in the current html page. Iframe tag src attribute only supported on HTML 5.


<iframe> ... </iframe>

Example Code

<iframe src ="../../index.php"></iframe>

Out Put:

In the above example <iframe> tag has been linked to web site home page.