HTML Scripting Cheat Sheet Cheat Sheet

<script> … </script>The HTML <script> element is used to embed or reference executable code; this is typically used to embed or refer to JavaScript code

Example

<!-- HTML4 -->
<script type="text/javascript" src="javascript.js"></script>
<!-- HTML5 -->
<script src="javascript.js"></script>

Leave a Reply

Your email address will not be published.