Correct Answer:
B. Markup Language
HTML stands for HyperText Markup Language, and its primary function is to structure content on the web. It uses a system of 'tags' to define elements such as headings, paragraphs, images, and links, indicating how content should be organized and displayed by a web browser. Therefore, HTML is correctly identified as a Markup Language.
- A Programming Language, like Java or C++, involves logic, algorithms, variables, and control flow (e.g., loops, conditionals) to perform computations, which HTML does not.
- A Scripting Language, such as JavaScript, adds dynamic and interactive behavior to web pages, executing commands within a host environment. HTML provides the static structure, not the dynamic behavior.
- A Query Language, like SQL (Structured Query Language), is specifically designed for retrieving and managing data in databases. HTML has no capabilities for querying databases.