HTML Old School
IFRAME
In opposite to frame tag which is inserted into frameset document this tag is inserted into body document.
In other words IFRAME tag is inserted inside BODY tag.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>IFRAME</title>
</head>
<body>
<iframe src="doc_a.html" width="50%" height="20%" frameborder="No"></iframe>
</body>
</html>
Iframe attributes
1. src="URL"
2. width="px | %" i height="px | %"
3. name="string" , id="string"
4. frameborder="yes | 1 | no | 0"
Example: 15ifr1.html
5. marginwidth="px" i marginheight="px"
Example: 15ifr2.html
6. scrolling="yes | no | auto"
7. align="right | left | top | texttop | middle | absmiddle | bottom | baseline | absbottom | center"
Defines text alignment around iframe tag.
8. vspace="px" i hspace="px"
Defines text padding inside iframe box.