Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for posting this. I just replaced the <section> I was using on one of my projects by a <main>. In the context of this project, this particular container was always meant to be unique anyway; and it had been bothering me a bit these past few days to know that I wasn't using <section> quite as intended. Using a <div class="main"> wasn't a very sexy alternative either.

Quite sure that when I read the list of HTML5 elements a while back, <main> wasn't in the list! Glad it got added.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: