HTML Iframe Tag
- Purpose: Purpose: To embed an external web page or document within the current HTML page.
- Tags: <iframe>
- Attributes
- src: Specifies the URL of the page or document to be embedded.
- width: Sets the width of the iframe.
- height: Sets the height of the iframe.
- frameborder: Specifies whether or not to display a border around the iframe.
- scrolling: Controls whether scrollbars should be displayed within the iframe.
- Example:
<iframe src="https://example.com" width="800" height="600" frameborder="0" scrolling:"yes"></iframe>
This code will embed the webpage from https://example.com within the current page, with a width of 800 pixels, a height of 600 pixels, and no border.