iframe html to string code example
Example 1: iframe with html string
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>
Example 2: put html in iframe
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>