Home » HTML » Html miscellaneous » Question
  1. For best speed position of JavaScript code should be at ______________.
    1. anywhere in the code
    2. middle of the code
    3. top of the code
    4. bottom of the code
    5. 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.



Your comments will be displayed only after manual approval.