149k views
0 votes
Which is the best/proper way to declare a section that has an h2 heading and three progress elements?

A.

Achievements


Progress in this course (100%)

Progress in the Specialization capstone (20%) ="100">

Progress in life goals (70%)



B.

Achievements


Progress in this course (100%)100%

Progress in the Specialization capstone (20%)20%

Progress in life goals (70%)70%



C.

Achievements


Progress in this course (100%)
Progress in the Specialization capstone (20%) ="100">
Progress in life goals (70%)



D.
Achievements

Progress in this course (100%)100%

Progress in the Specialization capstone (20%)20%

Progress in life goals (70%)70%



1 Answer

4 votes

Final answer:

The best way to declare a section with an h2 heading and three progress elements is option B, which includes an h2 heading and three progress elements with values and maximum values.

Step-by-step explanation:

Best Way to Declare Section with Heading and Progress Elements

The best/proper way to declare a section with an h2 heading and three progress elements is option B:

<h2>Achievements</h2>
<progress value="100" max="100">Progress in this course (100%)</progress>
<progress value="20" max="100">Progress in the Specialization capstone (20%)</progress>
<progress value="70" max="100">Progress in life goals (70%)</progress>

This option includes an h2 heading (Achievements) and three progress elements. Each progress element has a value attribute to represent the progress, and a max attribute to define the maximum value.

User ScoRpion
by
7.4k points