ITPEC IP April 2022 Question 6

Which of the following is an appropriate description concerning HTML?

Explanation

A markup language that specifies a web page's logical structure and layout with tags — HTML marks up content with a fixed set of tags.

Tags such as headings, paragraphs, lists, tables and links tell the browser what each part of the page is and how the page is laid out. The tags are defined by the HTML standard; authors cannot invent their own.

Answer (a)

Why not others:

  • •(b) — describes a script language such as JavaScript, which runs programs in the browser
  • •(c) — describes HTTP, the protocol between a web browser and a web server
  • •(d) — describes XML, where users define their own tags to express the meaning and structure of data

Key rule: HTML uses predefined tags to structure web pages; XML lets users define tags for data; JavaScript adds processing; HTTP carries the pages.

Algorithm and Programming · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.