How many ways are to call a JavaScript code? First there is the typical <script>
tag then there are the attribute of some tags, onload=""
for the body
tag, href="JavaScript:"
of a
tag, onSubmit="JavaScript:"
of form
tag, the onclick=
attribute.
Beside this I know that code can also be loaded from JavaScript after all is loaded: How to include JavaScript file or library in Chrome console?.
But I am more interested in the ways code can be run from the html document, is there an exhaustive list: events, attributes,... ?