Answers for "how to display html file in iframe"

1

how to open a website inside a website

<iframe src="https://www.codegrepper.com" width="100%" height="300px"
        title="website" style="border: 10px solid black;">
</iframe>
Posted by: Guest on August-23-2020
0

put html in iframe

<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>
Posted by: Guest on December-18-2020

Browse Popular Code Answers by Language