An <iframe> in its simplest use:
The
src
attribute specifies the address of the document to embed in an iframe.
<iframe src=" URL ">
Value | Description |
---|---|
URL |
Specifies the URL of the document to embed in the iframe. Possible values:
|
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The iframe src attribute</h1>
<iframe src="https://horje.com/view/1353/how-to-add-html-iframe-sandbox-allow-top-navigation-by-user-activation-attribute">
</iframe>
</body>
</html>
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Tag |
Uploaded by
: |
Admin |