codegurukool.com · Free coding tutorials & online compiler

Home › HTML Tutorial › HTML iframes

HTML iframes

Embed another page.

An iframe shows another document inside your page. Always add a title. Sites can refuse to be embedded, and this preview may block external pages.

Example code

<iframe src='about:blank' title='Empty frame' width='300' height='120' style='border:2px solid #888'></iframe>'

Run this code in the online editor

← HTML buttonsJavaScript in HTML →