×

Html & Html5

The World's best Software Development Study Portal

HTML iframe tag


This <iframe> tag is use when we want to have any nested webpage or website inside our webpage in general way we can say it just embeds other document with the correct one.

Let's understand this by the following example:


<p> Example of iframe tag </p> <iframe src="http://ittrainingclasses.in /" width="300px" height="250px"> </iframe>

Output:




change width and height of iframe


Let's understand this by the following example:


<p> Example of iframe tag </p>
<iframe src="http://ittrainingclasses.in /" width="300px" height="400px">
</iframe>

Output: