Iframes in HTML

Iframe is an inline frame tag. It specifies a rectangular region in a document where the browser can show an individual document with scrollbars and borders. It is employed to insert another document inside the current HTML document. It is not oriented with frameset tag

Its src attribute is employed to give an URL of the document which occupies an inline frame

The attributes of < iframe> tag

The attributes includes name, class, frameborder, id, longdesc, marginheight, marginwidth, scrolling, style and title acts like < frame> tag

The additional attributes of iframe tag are

src, name, frameborder, marginwidth, marginheight, height, scrolling, longdesc, width


iframes in html img1


iframes in html img2