1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. Which HTML tag is used to embed JavaScript?

Added 10 Nov 2026

Which HTML tag is used to embed JavaScript?

  1. <script> Correct answer
  2. <js>
  3. <javascript>
  4. <code>

Correct answer

A. <script>

11 views

MCQSEXAM

Explanation

The <script> tag embeds JavaScript, either inline or from an external file with the src attribute: <script src="app.js"></script>.

<js> and <javascript> do not exist, and <code> only displays code as text.

Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

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 Computer Science FBISE Class 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs