Question
The purpose of HTML is: A: to define the structure of a webpage B: to style a webpage C:to manage a database D: to allow for loops and conditionals on a webpage.
Answers
GPT-4o mini
The correct answer is: **A: to define the structure of a webpage**.
HTML (HyperText Markup Language) is primarily used for creating and structuring content on the web, including definitions of headings, paragraphs, links, images, and other elements.
Options B, C, and D relate to other web technologies: CSS is used to style a webpage, databases are typically managed with server-side languages (like SQL), and loops and conditionals are features of programming languages like JavaScript.
HTML (HyperText Markup Language) is primarily used for creating and structuring content on the web, including definitions of headings, paragraphs, links, images, and other elements.
Options B, C, and D relate to other web technologies: CSS is used to style a webpage, databases are typically managed with server-side languages (like SQL), and loops and conditionals are features of programming languages like JavaScript.