ankitweblogic logo
W e b t u t o r i a l s

Define Website

Define HTML

HTML, Head, Title tag

HTML Body tag

HTML Heading tags

HTML Paragraph tag

HTML Horizontal Line

HTML Hyperlink

HTML Image tag

HTML Font tag

HTML Exercise

HTML Text Direction

HTML Comment

HTML Lists

HTML Marquee tag

HTML Table tag

HTML Table Website

HTML Frame

HTML Iframe

HTML Fieldset tag

HTML Form Elements

HTML Form Exercise

HTML Image Map

HTML Div & Span Tag

CSS Float & Clear

HTML Color Codes

HTML Symbols

HTML Assignment

Iframe Tag

The <iframe> tag can appear anywhere in your document. The <iframe> tag defines a rectangular region within the document in which the browser can display a separate document or file. HTML iframe attributes are:


Attributes Description
align Specifies the iframe alignment. Value can be left, right, top, bottom, middle. Default is left.
Note: align attribute is not supported in HTML5.
src Specifies the source of the file to be appear in the iframe.
Frameborder Specifies whether border should be displayed around iframes or not. This attribute takes value either 1 (yes) or 0 (no). Default value is 1.
height
width
Specifies the height and width of the iframe file.

Example: Include external html file in your document using iframe tag.