Heading tags inside of table head tags - wine festival schedule

https://www.codecademy.com/journeys/front-end-engineer/paths/fecj-22-web-development-foundations/tracks/fecj-22-fundamentals-of-html/modules/wdcp-22-learn-html-tables-980846bb-920e-4954-a414-01617d725953/projects/html-wine-festival-schedule

The HTML living standard explicity forbids putting heading tags inside of table heading tags.

th element content model:
Flow content, but with no header, footer, sectioning content, or heading content descendants.

https://html.spec.whatwg.org/#the-th-element

So what’s up with that? Why does the exercise make us do it, then?

Hello, again!

There is a possibility for this lesson that the <h1> - <h3> are being used to emphasize that the <th> are headings, but it could also be an error.

When you find what you suspect to be issues in a lesson, feel free to report a bug by clicking “Get Unstuck” on the top-right corner. :slight_smile:

1 Like

Nice spot! Seems to be a legitimate issue with the design of that assignment.

1 Like