![]() Relative URL: It points to other files of the same web page.Įxample: This example illustrates the use of an iframe tag which is used to display a webpage inside the current web page.Absolute URL: It points to another webpage.There are two types of URL links which are listed below: The ‘ src ‘ attribute is used to specify the URL of the document that occupies the iframe.Īttributes value: It contains a single value URL that specifies the URL of the document that is embedded in the iframe. The iframe is basically used to show a webpage inside the current web page. The name attribute is also used as a reference to the elements in JavaScript. ![]() The HTML iframe name attribute is used to specify a reference for an element. In the example below the links in the first iframe open in the second iframe, so the pages can be viewed while remaining on this page. For example, one iframe could be a contents page and the pages in the contents load into the second iframe. An inline frame is used to embed another document within the current HTML document. If you have two iframes on one page, you can open files in a second iframe from the first. The ” iframe ” tag defines a rectangular region within the document in which the browser can display a separate document, including scrollbars and borders. The iframe in HTML stands for Inline Frame. In this article, we will know HTML Iframes, their implementation through the examples.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |