HTML iFrames

by Yogesh Khanna 25-Jun-16

48 0 507

HTML iframes is use for import one web page to another web page. iframe tag is used for display particular part of website (insert content form another website). For example see below example..

Copy and paste below code into your HTML page.

Example:

<iframe src="https://ontimeinfotech.com/" width="800" height="400" scrolling="no" name="onTime Infotech">
Sorry your browser does not support iframes.
</iframe>

iframe Properties:

src : this attribute is used for link to specify target.
name : It is used for indicate which frame a document should be loaded into.
scrolling : This attribute controls the scrollbars on the frame. This takes values either "yes", "no" or "auto".

For example scrolling="no" means it will not display scroll bars on frame.


Share:

Comments

Leave a Reply