Which of the following is an example of a client-side scripting language ?

2025

Which of the following is an example of a client-side scripting language ?

  1. A.

    PHP

  2. B.

    JavaScript

  3. C.

    Python

  4. D.

    Ruby

Attempted by 114 students.

Show answer & explanation

Correct answer: B

JavaScript is the correct answer because it runs in web browsers to create interactive elements. PHP, Python, and Ruby are primarily server-side languages that execute on the web server before sending content to clients.

Explore the full course: Tpsc Assistant Technical Officer