Isolated HTML container

Is it possible to create a div block without a frame, in which you can put html code with unknown style tags that will only work within this block and not violate the general styles of the page, for example, as when viewing mail-there may be html content inside the email, but it does not work on the entire page?

If this is possible, how do I do it? What is the best way to implement it?

 0
Author: Anton Bogomolov, 2021-01-13

1 answers

Option iframe:

<iframe src="https://gazeta.ru" width="550" height="150">

Option object:

<object data="https://gazeta.ru" width="550" height="150"></object>

Option embed:

<embed src="https://gazeta.ru" width=550 height=150 />
 0
Author: Sevastopol', 2021-01-13 13:30:14