GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 9

Capabilities of pure HTML

Engineering Mathematics & Other Topics · Web Technologies · Full GATE CSE 2011 paper

GATE 2011, Q9 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Web Technologies

Question 9, GATE 2011: Which action is NOT supported by pure HTML pages, without server-side or client-side scripting?

(A) Embed web objects from different sites in one page
(B) Automatically refresh a page after a specified interval
(C) Automatically redirect to another page upon download
(D) Display the client's current time as part of the page
Tap to enlarge
Your answer
Answer & solution

Official answer: D

HTML can embed remote objects and use refresh metadata for timed refresh or redirection. It has no mechanism by itself to read and display the client’s current clock time. That normally requires scripting or another active component, so D.

A static timestamp written into HTML is not the client's current time. Remote image/object URLs satisfy A, and a refresh directive can reload a document or navigate to a specified URL, satisfying B and C in the intended browser model. Reading the local clock and inserting its live value requires computation beyond HTML markup, for example JavaScript Date and DOM updates. That distinction between document description and active computation selects D.

Original paper, page 3 · Answer key