Frames

The <iframe> element allows to embed one web page into another. Others elements related with frames are obsolete since HTML5.

<iframe
src="https://maps.google.com/maps?q=51.5621163,-0.1097184&hl=es;z=14&output=embed"
 style="width:100%; height:400px;">
</iframe>

attributes

attribute description
name

Name of frame. This value can be used as value for the target attribute of <a>, <form>, or <base> elements. For the formtarget attribute of the <input> or <button> elements. Or for the windowName parameter in the window.open() method.

src

Url of page, that will be displayed in iframe. Cross site contents can not be read by javascript. But you server can define api/page for reading page of specified url.

srcDoc

Html code of the displayed page. Not supported in IE.