put html in iframe
snippet in html

put html in iframe

user5052

<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>

iframe in html

user2446

<iframe src="yourURL" height="200" width="300"></iframe> 

how to use iframe in html

user3377


    <iframe src="https://www.w3schools.com" title="W3Schools Free 
    Online Web Tutorials"></iframe>