put html in iframe code example
Example 1: iframe in html
<iframe src="yourURL" height="200" width="300"></iframe>
Example 2: put html in iframe
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>
<iframe src="yourURL" height="200" width="300"></iframe>
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>