Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed html5 banner inside another html page

Tags:

html

I have a html5 banner that I've been supplied with that has some animations and so on. How would I embed this inside an already existing html document? I don't want to grab the code from the html5 document, instead it would be nice if I could link to the html5 banner..

I don't know if this is possible though.

<html>
    <body>
        <!-- Embed html5 banner here -->
        <div src="/assets/html5banner.html" /> <!-- Something like that, I don't know -->
    </body>
</html>

Any push in the right direction would really be appreciated! Thanks


1 Answers

Use iframe to embed other html document into your page

<iframe src="#"></iframe>
like image 69
Mr. Alien Avatar answered Aug 05 '26 12:08

Mr. Alien



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!