how to pass value from html to javascript script code example
Example 1: pass parameter to script tag
<script param="1">
document.currentScript.getAttribute('param');
</script>
Example 2: pass parameter to script tag
<script parameter="anything">