JavaScript | JavaScript Basics | Question 4

Last Updated :
Discuss
Comments

Which of the following are ways to include JavaScript in an HTML file?


Inside <script> tags in the HTML file

Linking an external .js file

Using event attributes like onclick

All of the above

Share your thoughts in the comments