![]() |
Definition and UsageThe Tip: This attribute is expected to be used together with the If a browser supports the If a browser does NOT support the Applies toThe
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 |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 41 |
Reffered: https://www.w3schools.com/tags/att_srcdoc.asp