adspace


How include js file in html?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the name of the website?

922


What is the simplest html page?

944


How comfortable are you with writing html entirely by hand?

876


What is the current version of edge?

947


How do I put text on the next line in html?

871


List out the new features of html5?

871


What are the new api's provided by the html5 standard? Give a brief description of each.

898


Can you list the new input type attributes in html5?

862