You can write HTML documents with almost no (top-level) HTML: document.addEventL...

@rauschma@fosstodon.org

You can write HTML documents with almost no (top-level) HTML:

<script>
document.addEventListener('DOMContentLoaded', (event) => {
document.body.insertAdjacentHTML('beforeend', '<h1>Hello!</h1>');
});
</script>