Frames
The <iframe> element allows to embed one web page into another. Others elements related with frames are obsolete since HTML5.
|
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. |