How include js file in html?



How include js file in html?..

Answer / Sheoraj Singh

To include a JavaScript file in an HTML document, you can use the <script> tag. Place it within the head or body section of your HTML file like this: <script src="your-file.js"></script>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Are there instances where the text will appear outside of the browser?

1 Answers  


Is the br tag deprecated?

1 Answers  


What is html and its application?

1 Answers  


Why html is used?

1 Answers  


How to create nested web page in html?

1 Answers  


What is a deprecated tag?

1 Answers  


What is the uses of html?

1 Answers  


Define attributes in html tag.

1 Answers  


What is the difference between the application model of HTML and HTML5?

1 Answers  


What is section tag in html?

1 Answers  


What are dom levels?

1 Answers  


What is network in application cache?

1 Answers  


Categories