1. Home
  2. Computer Science MCQs
  3. Jquery
  4. How can you include jQuery in an HTML document?

Added 30 Jan 2024

How can you include jQuery in an HTML document?

  1. <script src="jquery.js"></script> Correct answer
  2. <link rel="stylesheet" href="jquery.css">
  3. <div class="jquery"></div>
  4. <meta name="jquery" content="1.0">

Correct answer

A. <script src="jquery.js"></script>

16 views

MCQSEXAM

Explanation

To include jQuery in an HTML document, use the script tag with the source attribute pointing to the jQuery file.

Reference

https://www.w3schools.com/jquery/default.asp

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Jquery MCQs

Practise all Jquery MCQs

Similar MCQs