Which of the following syntax is correct to refer an external script called “formValidation.js”?
Options
- < script href = “formValidation.js”>
- < script source = “formValidation.js”>
- < script name = “formValidation.js”>
- < script src = “formValidation.js”>
CORRECT ANSWER : < script src = “formValidation.js”>
Write your comments