Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Iframes

Overview

  • Iframes help in opening one web-page inside another.
  • You can divide your web page in 2 vertical parts - open www.google.com in 1st half and Wikipedia in another -- all with help of Iframes.

Use of iFrames

Iframes are used in HTML to enclose some other website and show it as a part of web page.

Multiple websites can be enclosed in iframes and embedded in a single page.

<iframe src="http://www.google.com"></iframe>

Example

<head>
<style>
iframe {
  border:2px solid #000; 
  width:45%;
  min-height:200px;
 }
</style>
</head>

<body>
  <iframe src="https://en.wikipedia.org/wiki/Main_Page"></iframe>
  <iframe src="http://www.foxnews.com/"></iframe>
</body>
WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.