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