{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "Untitled27.ipynb",
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "code",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 91
},
"id": "o7USL5rozjjw",
"outputId": "99eabf29-1d8c-44a7-813d-707756a153e3"
},
"source": [
"from IPython.core.display import display, HTML\n",
"display(HTML(\"\"\"<h1>Hello, world!</h1>\n",
"\n",
"<div id=\"hello\"> woo</div>\n",
"<script>\n",
" document.getElementById('hello').innerHTML=\"aaa\"\n",
" </script>\n",
"\n",
"\"\"\"))"
],
"execution_count": 3,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/html": [
"<h1>Hello, world!</h1>\n",
"\n",
"<div id=\"hello\"> woo</div>\n",
"<script>\n",
" document.getElementById('hello').innerHTML=\"aaa\"\n",
" </script>\n",
"\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {
"tags": []
}
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "rnckS4cxzu2e"
},
"source": [
""
],
"execution_count": null,
"outputs": []
}
]
}