iframe in HTML


Iframe can be considered as a rectangular box which displays a another web page within it.

Example:

<!DOCTYPE html>
<html>
<head>
<title>
IFRAME
</title>
</head>
<body>
<iframe src="attrib.html" width="200" height="300">
</body>
</html>

Output: