Which of the following statements is not correct ?
2016
Which of the following statements is not correct ?
- A.
HTML is not screen precise formatting language.
- B.
HTML does not specify a logic.
- C.
DHTML is used for developing highly interactive web pages.
- D.
HTML is a programming language.
Attempted by 549 students.
Show answer & explanation
Correct answer: D
Answer: The statement "HTML is a programming language." is not correct.
Why this is incorrect:
HTML is a markup language used to define the structure and semantics of web content (for example, headings, paragraphs, links, images).
It does not provide programming constructs such as variables, conditionals, loops, or functions that allow you to implement algorithms or programmatic logic.
Presentation and precise layout are handled by CSS, and interactivity/logic is provided by scripting languages like JavaScript. Together, HTML + CSS + JavaScript enable dynamic web pages (often referred to as DHTML).
Brief note on the other statements: The statements that HTML is not a screen-precise formatting language, that HTML does not specify logic, and that DHTML is used for highly interactive web pages are accurate.