-
For best speed position of JavaScript code should be at ______________.
-
- anywhere in the code
- middle of the code
- top of the code
- bottom of the code
- None of these
Correct Option: D
For better loading time of the page it is always recommended to put JavaScript code at the bottom of the main code of the page before </body> tag. CSS code should be at the beginning of the code.