HTML and CSS Certification Practice Test

Question: 1 / 400

Which HTML element is used for defining a section in a document?

<article>

<section>

The <section> element is specifically designed to define a section in a document. It is a semantic HTML5 element, which means it carries meaning about its role in the structure of the document. When you use <section>, you indicate that the content inside is a thematic grouping of content, often with a heading. This is particularly useful for accessibility and search engines, as it helps them understand the content and context of the document better.

The <article> element, while also a semantic element, is intended for independent, self-contained compositions that could stand alone, such as a news article or blog post. The <div> element is a non-semantic container, used primarily for styling or scripting purposes, without conveying any special meaning in terms of the document's structure. Lastly, <group> is not a valid HTML element; the correct terminology would instead be related to either <div> or other semantic tags, depending on what you are trying to convey.

Get further explanation with Examzify DeepDiveBeta

<div>

<group>

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy