Programming in HTML5 with JavaScript and CSS3 Quiz Questions and Answers
Answer :
an interpreted
Explanation :
JavaScript is an interpreted language, not a compiled language. C++
or Java codes needs to be compiled before it is run. The source code is passed
through a program called a compiler, which translates it into bytecode that the
machine understands and can execute. There is no such need in case of JavaScript.
HTML element h1 is used in CSS for styling then it is also called a selector. Attributes are the special words which control the element’s behaviour. To show the start and end of HTML element, tag is used.
n JavaScript, the scope of variables is not changed in conditional
statements and loops. Scope is only changed in case of functions, therefore a is
defined even outside the ‘if’ conditional block