Which HTML5 element represents self-contained content such as a blog post or news story?
Correct answer A. <article>
Topic / 30 questions
HTML MCQs test the basics of HyperText Markup Language, the code used to structure web pages, including tags, headings, lists, images and the head and body sections. They help computer science students, IT job applicants and candidates for computer teacher and lecturer tests. Each question has an instant answer for quick, practical revision.
Correct answer A. <article>
Correct answer A. data-*
Correct answer C. <datalist>
Correct answer C. controls
Correct answer B. <progress>
Correct answer D. <figcaption>
Correct answer A. target="_blank"
Correct answer D. alt
Correct answer B. date
Correct answer B. <!DOCTYPE html>
Correct answer A. <canvas>
Correct answer A. <nav>
Correct answer B. placeholder
Correct answer A. required
Correct answer A. <video>
Correct answer A. <head>
Correct answer D. Angle
Correct answer D. <h1>
Correct answer A. Microsofts Bing
Correct answer C. Web Browser
This set covers the building blocks every web developer learns first. Questions ask which brackets surround HTML tags, which tag displays an image, how to create a numbered list and which heading tag produces the largest text. You will also identify HTML as a markup language rather than a programming language, and recall that content not shown directly on the page, such as the title and metadata, goes in the head section. A historical question asks who created the World Wide Web. Practising with small code snippets reinforces each answer.
Pakistan
India
Bangladesh
HTML stands for HyperText Markup Language. It is the standard markup language used to structure content on web pages, using tags to define headings, paragraphs, links, images and lists. It is a markup language, not a programming language.
The img tag displays an image on a web page. Its src attribute gives the location of the image file and its alt attribute provides alternative text for screen readers and for cases where the image cannot load. The img tag has no closing tag.
Last reviewed October 2026