Home / CSE / HTML- CS :: Discussion

Discussion :: HTML- CS

  1. State true or false. It is faster to render HTML and CSS than to interpret and execute JavaScript.

  2. A.

     True

    B.

     False

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    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.


Be The First To Comment