HTML iframes tag is used to embed another web document to current web document.

The iframes are often used by many online advertising companies to create ads.


Syntax

Output



List of attributes of HTML iframes tag

Used to give the width of iframe.

Used to give the height of the iframe.

Sr. No. iframes attributes Description
1 src Used to give the target url of webpage to show on the given web page.
2 width
3 height
4 name Used to give the name of iframe.
5 frameborder Used to give border of the iframe.

Resources and References

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a Reply

Your email address will not be published. Required fields are marked *