iFrame Tag in HTML || HTML iFrame Tag
×

HTML iFRAME (<iframe>) Tag

0 1059

The <iframe> tag is known as the Inline frame which is used in HTML. An inline frame merges other documents under the current HTML document. We can also use CSS to style the iframe.

The <iframe> use some attributes like src, width, height, etc. It must have opening <iframe> tag and the closing </iframe> tag.

Program:

<!DOCTYPE html>
<html>
<head>
<title>iframe Tag</title>
</head>
<body>
<iframe src="https://www.codingtag.com" height="420" width="500"></iframe>
<p>Use the height and width attributes to specify the size of the iframe </p>
</body>
</html>

Output:




Share:


Leave a Reply


Comments
    Waiting for your comments