Which programming language is commonly used to add interactivity to web pages in a browser?

Options

  • A. JavaScript
  • B. HTML
  • C. CSS
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. JavaScript

Detailed Explanation

Correct Answer: A — JavaScript.

Explanation: JavaScript enables interactive behavior in web pages, such as form validation, dropdown menus, dynamic content updates and event handling. HTML structures content, while CSS styles it.