Use of iFrame tag in HTML
In : BSc IT Subject : Web DesigningThe <iframe> tag in HTML stands for Inline Frame , and it is used to embed another HTML document or web page within the current HTML document . This allows you to display external content such as videos, maps, documents, or other websites directly inside your webpage.
Syntax :
<iframe src="URL" width="width" height="height" frameborder="0" allowfullscreen></iframe>
Example :
<iframe src="https://www.example.com " width="600" height="400" title="Embedded Website"></iframe>
<iframe width="984" height="541"
src="https://www.youtube.com/embed/96UIk8jWPBY"
title="itprashnavali - Old Paper Solution" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
</iframe>