Home » HTML » Html miscellaneous » Question
  1. State true or false. It is faster to render HTML and CSS than to interpret and execute JavaScript.
    1. False
    2. True
    3. NA
    4. NA
    5. NA
Correct Option: B

When it comes to ordering your CSS and JavaScript, you want your CSS to come first. The reason is that the rendering thread has all the style information it needs to render the page. If the JavaScript includes come first, the JavaScript engine has to parse it all before continuing on to the next set of resources.



Your comments will be displayed only after manual approval.