Which of the following statements related to business computing is/are true?…
2022
Which of the following statements related to business computing is/are true?
(i) You can place only five scripts in an HTML document.
(ii) JavaScripts can be placed in the <body>, or in the <head> section of an HTML page, or in both.
Answer: B. Only (ii) — Statement (i) is incorrect because HTML documents do not limit the number of script tags to five. Statement (ii) is correct as JavaScript can be embedded in…
- A.
Only (i)
- B.
Only (ii)
- C.
Both (i) and (ii)
- D.
Neither (i) nor (ii)
Attempted by 355 students.
Show answer & explanation
Correct answer: B
Statement (i) is incorrect because HTML documents do not limit the number of script tags to five. Statement (ii) is correct as JavaScript can be embedded in either the head, body, or both sections of an HTML page. Therefore, only statement (ii) is true.