![]() |
Definition and Usage
The
Tip:
This attribute is expected to be used together with the
If a browser supports the
If a browser does NOT support the Applies to
The
Browser SupportThe numbers in the table specify the first browser version that fully supports the attribute.
|
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The iframe srcdoc attribute</h1>
<iframe srcdoc="<p>Hello world!</p>" src="https://horje.com"> <p>Your browser does not support iframes.</p>
</iframe>
</body>
</html>
html srcdoc attribute |
How to add An <iframe> with a srcdoc attribute - | HTML Attribute |
Type
: |
Develop |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Attribute |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference