The HTML tag <iframe> can be used to introduce an inline frame in a webpage. The <iframe> tag is not quite related to <frameset> tag, as an alternative, it can display anywhere in your document. The <iframe> tag describes a rectangular region within the document in which the browser can show a separate document, including scrollbars and borders.
Example
Following is the example to show how to use the <iframe>:
<!DOCTYPE html>
<html>
<head>
<title>Scholars HTML Iframes</title>
</head>
<body>
<p>Document content goes here...</p>
<iframe src="/html/menu.htm" width="555" height="200">
Sorry your browser does not support inline frames.
</iframe>
<p>Document content also go here...</p>
</body>
</html>
No comments:
Post a comment