script attribute javascript code example
Example 1: script tag with type html
<script type="text/javascript">
/*Detects that you are using javascript or text*/
</script>
Example 2: html5 script
<script src="javascript.js"></script>
<script type="text/javascript">
/*Detects that you are using javascript or text*/
</script>
<script src="javascript.js"></script>