5168 shaares
38 private links
38 private links
For those of you who haven’t yet heard, the W3C just announced the new <main> element. As the name suggests, the purpose of the element is to identify the main content of a page. To that end, you are only allowed one <main> element per page, and the <main> element cannot be a descendant of any of the following elements: <article>, <aside>, <footer>, <header>, or <nav>. Instead it should be their sibling.