When to use iframe tag in Visualforce component?

If you would like to display the document or record outside the URL like YouTube, Google, or any other portal URL, then you need to use the Iframe tag in Aura Component and VisualForce page. Attribute Name Attribute Type Access Frameborder Boolean global
For More Information Please Refer:

You May Also Like to Read: