Question
HTML (HyperText Markup Language) has language elements which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting) pages?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2011 answer key
Solution
Examine native HTML capabilities against dynamic client-side scripting requirements.
- Option A: Pure HTML natively supports embedding external resources using
img,iframe, andembedelements.
- Options B and C: Pure HTML supports client-pull page refreshing and URL redirection using the meta refresh header tag (
meta http-equiv="refresh" content="seconds; url=...").
- Option D: Displaying the client machine's dynamic current time requires programmatic access to the client operating system clock (typically via JavaScript's
Date()object) and DOM manipulation. Pure static HTML contains no mechanism to read or display client system time.
D
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2011 Computer Science and Information Technology (CS)
- Question
- 9 of 65, printed as CS Q.9
- Section
- Computer Science and Information Technology
This question is from a part of the syllabus that is no longer in GATE CS. It is kept because it was in the paper.
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.