Skip to main contentSkip to solution

Dynamic web pages can be created using various languages, like ___________.

(A) JavaScript

(B) PHP

(C) Python

(D) Ruby

Solution

✅ Correct Option: 3

All four languages can create dynamic web pages, which are pages whose content is generated or changed at the time of the request or by user action.

JavaScript runs in the browser (client side), while PHP, Python and Ruby run on the server (server side) and generate the HTML sent to the user.


Options 1, 2 and 4: each leaves out one of the four languages. Python (with frameworks like Django and Flask) and Ruby (with Rails) are general-purpose languages, but they are widely used for server-side web development.

JavaScript is not limited to the browser, as Node.js lets it run on the server too.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question