Horje

How to add HTML <script> src Attribute

It points to an external JavaScript file.

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 add HTML <script> src Attribute




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