adplus-dvertising
frame-decoration

Question

We can embed JS code inside HTML directly ?

a.

True

b.

False

c.

Depends on the browser

d.

None of the above

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. We can embed JS code inside HTML directly ?

Similar Questions

Discover Related MCQs

Q. JavaScript is designed for following purpose

Q. The basic purpose of the toLocaleString() is to

Q. The purpose of extensible attribute is to

Q. Consider the following code snippet
function f() {};

The above prototype represents a

Q. To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the

Q. Consider the below given syntax:

book[datatype]=assignment_value;

In the above syntax, the datatype within the square brackets must be

Q. A linkage of series of prototype objects is called as :

Q. The object has three object attributes namely

Q. The unordered collection of properties, each of which has a name and a value is called

Q. Among the keywords below, which one is not a statement?

Q. Consider the following code snippet

function f(o)
{
if (o === undefined) debugger;
}

What could be the task of the statement debugger?

Q. What will be the step of the interpreter in a jump statement when an exception is thrown?

Q. What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?

Q. One of the special feature of an interpreter in reference with the for loop is that

Q. Consider the following code snippet
function tail(o)
{
for (; o.next; o = o.next) ;
return o;
}
Will the above code snippet work? If not, what will be the error?

Q. What are the three important manipulations done in a for loop on a loop variable?

Q. The enumeration order becomes implementation dependent and non-interoperable if :

Q. Consider the following statement:

var count = 0;
while (count < 10)
{
console.log(count);
count++;
}

In the above code snippet, what happens?

Q. Consider the following statement:

switch(expression)
{
statements
}

In the above switch syntax, the expression is compared with the case labels using which of the following operator(s) ?

Q. The "var" and "function" are