DEV Community


Discussion on: CSS Variables Cheat Sheet

proticm profile image
Milos Protic Author

Hi, glad you liked it.

I have this information in my head, not sure from where, but back when HTML5 was released the main element was allowed inside article, or not? The idea was that each article could have its header, main and footer section...I wasn't aware of this update...if it was an update in the first place :)

If the main element wasn't allowed inside the article element from the very beginning, thank you for clearing this out...I had the wrong information.

I've updated the article.

melnik909 profile image
Stas Melnikov

I think that it was from the beginning because the main element always contained unique content. Thank you!

Forem Open with the Forem app