Computer Science, asked by KUSHAN2061, 1 year ago

When does the browser stop rendering the HTML?
A.Inline JavaScript block
B.External JavaScript file
C.Both Inline JavaScript block & External JavaScript file
D.None of the mentioned

Answers

Answered by Ayesha059
0
Answer: c
Explanation: When the browser parses the HTML markup, it stops rendering the HTML when it encounters an inline JavaScript block or external JavaScript file. At this point, the user experiences rendering delays. Moving the JavaScript to the end of the HTML markup would completely eliminate these pauses in rendering.
Answered by Themankp9
0

Answer:

The answer to your question is "C".

Explanation:

The reason for being "C", is because with HTML, your able to create a script tag (it will look like this,script) and of this script tag you're going to be able to give it an attribute(an attribute in HTML are characteristics that a tag can/must  have) and the script tag has an optional attribute, the type attribute,which can be omitted(if your writing JavaScript) . Anyways, if your going to be using the script tag and the source attribute for the script tag, which is used to show the external file that your JavaScript is in,the html won't be rendered, if you are creating elements with the Document Object Model, but if you put your script tag at the bottom, which i advise to do since it runs the JavaScript code last, it won't stop your HTML from rendering, also keep in mind that if the script tag is in the  head then the HTML that is bellow it won't render.

Similar questions