<html>
<head>
<script src="https://cdn.bootcdn.net/ajax/libs/brython/3.8.8/brython.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/brython/3.8.8/brython.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/brython/3.8.8/brython_stdlib.js"></script>
</head>
<body onload="brython()">
<script type="text/python">
from browser import document,html
document<=html.B("old content",id="zone1")
def change(event):
document["zone1"].textContent = "New content"
document["button1"].bind("click", change)
</script>
<button id="button1">button1</button>
</body>
</html>
HTML4 tags : A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, IMG, INPUT, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, MAP, MENU, META, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, P, PARAM, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, SVG, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR
HTML5 tags : ARTICLE, ASIDE, AUDIO, BDI, CANVAS, COMMAND, DATA, DATALIST, EMBED, FIGCAPTION, FIGURE, FOOTER, HEADER, KEYGEN, MAIN, MARK, MATH, METER, NAV, OUTPUT, PROGRESS, RB, RP, RT, RTC, RUBY, SECTION, SOURCE, SUMMARY, TEMPLATE, TIME, TRACK, VIDEO, WBR
HTML5.1 tags : DETAILS, DIALOG, MENUITEM, PICTURE, SUMMARY