HTML5 Script
HTML
What is the <script>
tag?
- The
<script>
tag is used to embed or reference JavaScript code in an HTML document. - It can be placed in the
<head>
or<body>
section. - JavaScript inside
<script>
runs on the client-side (browser).
- The
<script>
tag contains JavaScript that changes the heading color to blue.