---
layout: single
elementName: iframe
---
Defines a container for a nested browsing context: you can include a web page within another web page.
Example:
Copy
Defines the URL of the nested web page. You can type any URL. Be aware that some websites will not allow to be iframed. Allows the browser to show the iframe in fullscreen with JavaScript. Defines the height of the iframe. The height in pixels. Defines the width of the iframe. The width in pixels.
#
iframe
src
"http://cssreference.io"
allowfullscreen
height
"50"
width
"150"