how to create iframe in html?

How to create iframe in html?

html web page include the text content, images, links, tables, divs and many more. but we can not include the html page in the html web page, if you want to include the full html page inside another html page then it is possible using the iframe, iframe is used to include one html page in to another html page, you can include as many pages as you want, it means there is no limitation to use the iframe in web-page, you can use as many iframe as you want.

iframe Syntax:

<iframe src=”myurl”></iframe>

here myurl is the url of another web page which you want to show in the iframe. there is many property of iframe which you can set in the iframe tag, which is knows as name, id, width, height, border, padding, margin, background color, text color etc…