Microsoft Exam Questions

You are developing a blog web page that is being optimized for accessibility.

You are developing a blog web page that is being optimized for accessibility.

The page includes the following HTML.



The heading tags represent a blog post title, a blog post subtitle, and the authors name.

You need to ensure that the three headings are treated as a unit but retain their individual formatting.

Which tags should you use to wrap the H1, H2, and H3 elements?

A.

<

group

>

<

/group

>

B.

<

header

>

<

/header

>

C.

<

hgroup

>

<

/hgroup

>

D.

<

headings

>

<

/headings

>

Explanation:

The

<

hgroup

>

tag is used to group heading elements.

The

<

hgroup

>

element is used to group a set of

<

h1

>

to

<

h6

>

elements, when a heading has multiple levels(subheadings).

Reference: HTML

<

hgroup

>

Tag