I thought about changing the table of contents from an <aside>
to a <section>
. My reasoning that it’s a block element that is part of an <article>
and I supply it with a header. Afterwards, I thought about using the <nav>
.
I thought about changing the table of contents from an <aside>
to a <section>
. My reasoning that it’s a block element that is part of an <article>
and I supply it with a header. Afterwards, I thought about using the <nav>
.
@mandaris How important are these tags anyway? Can you recommend a good guide to best practice?
@jeremycherfas I feel that this is where things get a little tricky as I'm looking at the Mozilla Web Docs and they point to things in the HTML spec. This is different than what I see when I look at the source code for a lot of popular sites.
@mandaris I guess I would be best off looking at MDN myself. I certainly have little desire to emulate the tag soup I see in many Wordpress themes.