Horje

How to Point to an external JavaScript file - HTML src Attribute

Script Example. This text comes from an external script.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The script src attribute</h1>

<script src="demo_script_src.js">
</script>

</body>
</html>

Output should be:

How to Point to an external JavaScript file - HTML src Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin