Iframe: Syntax

An iframe is used to display a web page within a web page. The syntax for adding an iframe is:

<iframe src="URL"></iframe>

The src attribute specifies the URL (web address) of the location of the webpage displayed in the iframe.

Back button Table of Contents Next button