Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which of the following do you use to add jquery to a web page? a <scrip…

Question

which of the following do you use to add jquery to a web page? a <script type=\jquery.js\> b <html src=\jquery.js\> c <jquery src=\jquery.js\> d <script src=\jquery.js\>

Explanation:

Brief Explanations

To add jQuery to a web page, we use the <script> tag with the src attribute to point to the jQuery library file. Option A uses type which is incorrect for specifying the source. Option B uses <html> tag which is not used for including scripts. Option C uses a non - standard <jquery> tag. Option D uses the correct <script> tag with src to reference the jQuery file.

Answer:

D. <script src="jquery.js">