Vidyalelo
HTML · Q16

Basic HTML

Programming · HTML · question 16

Q16

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

A.
True
Answer
B.
False

Answer: Option A

Solution

Answer: Option A
Solution:
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.