The HTML <script> Tag

The HTML <script> Tag

Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.

document.getElementById("demo").innerHTML = "Hello JavaScript!";

Is used to define a client-side script (JavaScript).

Either contains scripting statements, or it points to an external script file through the src attribute.

The HTML <script> Tag — Structure map

Clickable & Draggable!

The HTML <script> Tag — Related pages: