Iframe display complete webpage within a web page.

HTML IFrame Syntax

<iframe src="url"></iframe>

Attributes are provided with start tag of HTML element.

Url specify the webpage url you wish to display.

You can provide more attributes with <iframe> tag such as height, width, name etc

Sample Code


<iframe src="HTML-Comments.html" name="iframe_comments"></iframe>


Attributes    Blocks    Color-Values    Colornames    Colors    Comments    CSS    Editors-for-writing-html    Elements    Entities    Formatting-in-HTML    Forms    Head    Headings    HTML-Reference    IFrames    Image    Javascript    Layouts    Links    Options for building websites    Paragraphs    pointers and questions    Symbol-for-Mathmatics    Symbol-for-Punctuations    Symbols    Tables    Whats-new-in-HTML5