Structuring planet data - Learn web development | MDN

An assessment is required to structure the planet data made in two variants:

option with “scope”

option with “id”

I would be very grateful for an answer.

Well done, @petrushya!

Here are my comments:

  • Both versions: <caption> needs to be the first child of <table> to be valid HTML.
  • Scope version: When you use rowspan you also need to change the scope to rowgroup.

Which version do you prefer?

Have a nice day,
Michael

Hi @mikoMK!

Thanks for the hints.
The articles about “caption” and “colgroup” say the same thing:

…just below the opening <table> tag.

Therefore, there was a misunderstanding.

Good luck.
Pyotr

1 Like