QUESTION IMAGE
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\>
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
D. <script src="jquery.js">