Which of the following is a client-side scripting language?
A.
PHP
B.
XML
C.
JavaScript
D.
ASP
Explanation:
JavaScript is a language that is used to make the Web pages interactive. The user can send and
receive information with the use of JavaScript objects. JavaScript can be used to create imagerollovers and validating forms. It can also be used to open a new browser window. It is placed in the
HTML code by using the <script>… </script> tag pair. It was developed by Netscape in conjunction
with Sun Microsystems. JavaScript is a language that is used to make Web pages interactive. It
provides the following benefits:
1.A user can send and receive information with the use of JavaScript objects.
2.It is very useful for creating interactive Web pages or Web sites.
3.It helps in adding dynamic functionality to Web sites.
4.It has the ability to instantly notify users in case there is any mistake in input data.
5.It can be used or executed with ease without pre-compilation because it is an interpreted
language.
6.The use of simple syntax and rules makes it a popular Client-side scripting language.
7.A new JavaScript form known as Visual JavaScript is a component-based visual development tool
for the Netscape Open Network Environment. It is used by programmers who want to build crossplatform Web-based applications.
8.The newer version of JavaScript incorporates built-in Generators and Iterators.
Answer B is incorrect. XML stands for Extensible Markup Language. It is a metamarkup language for
developing text documents. This language allows developers and writers to invent the elements they
need, as they need them. This language defines a generic syntax used to mark up data with simple,
human-readable tags.
Answer A and D are incorrect. These are server-side scripting languages.