You can not. If you want to run the script in an HTML file, try using a different language, such as JavaScript or PHP. To enable javascript, enter the following:
<script type="text/javascript">
</script>
Or in HTML5 you don’t even have to enter an attribute type:
<script>
</script>
To enable PHP, enter
<?php
?>
source
share