ihtml is a module for IPython/Jupyter that allows for the display of HTML within an <iframe>. This ensures that the displayed HTML exists in its own DOM, and thus cannot disrupt the notebook itself.
ihtml can be installed with pip:
pip install git+https://github.com/thedataincubator/ihtml.git@master
See the README.ipynb notebook for usage examples. Note that the iframe output is not rendered correctly on Github; view it on your own notebook server to see it in action.
ihtml is copyright 2016 The Data Incubator, released under the BSD 3-Clause license. See the LICENSE file for details. The source is available at https://github.com/thedataincubator/ihtml.