adplus-dvertising
frame-decoration

Question

The script tag must be placed in

a.

head

b.

head and body

c.

title and head

d.

all of the mentioned

Answer: (b).head and body

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The script tag must be placed in

Similar Questions

Discover Related MCQs

Q. A JavaScript program developed on a Unix Machine

Q. JavaScript is ideal to

Q. Which attribute is used to specify that the script is executed when the page has finished parsing ( only for external scripts )

Q. JavaScript Code can be called by using

Q. JavaScript can be written

Q. Which of the following Attribute is used to include External JS code inside your HTML Document

Q. A proper scripting language is a

Q. The type of a variable that is volatile is

Q. A hexadecimal literal begins with

Q. The generalised syntax for a real number representation is

Q. When there is an indefinite or an infinity value during an arithmetic value computation, javascript

Q. Which of the following is not considered as an error in JavaScript?

Q. The escape sequence "f" stands for

Q. The snippet that has to be used to check if "a" is not equal to "null" is

Q. The statement a===b refers to

Q. Assume that we have to convert "false" that is a non-string to string. The command that we use is (without invoking the "new" operator)

Q. Consider the following snippet code:

var string1 = "123";
var intvalue = 123;
alert( string1 + intvalue );

The result would be

Q. A function definition expression can be called

Q. The property of a primary expression is

Q. Consider the following statements:

var text = "testing: 1, 2, 3"; // Sample text
var pattern = /d+/g // Matches all instances of one or more digits

In order to check if the pattern matches with the string "text", the statement is