Page 1 of 1

put page in <main> tag

Posted: Mon Apr 11, 2022 11:23 am
by wb_user
hi
I have a design with layout grid
try to put All of layout's in <main></main> tag
The end result will be:
<header></header>
<main></main>
<footer></footer>
but I cant good way to add ~10 layout grids in one main tag
I can set <main> each layout grid. but this not correct work. for SEO, pages should have one <main> tag.
so this question happen: is this work possible in wb?

Re: put page in <main> tag

Posted: Mon Apr 11, 2022 2:08 pm
by Pablo
You can use nested layout grids where the outer layout uses the <main> tag.
or use custom HTML where you add <main> to the first grid and </main> to the last grid.

Re: put page in <main> tag

Posted: Tue Apr 12, 2022 6:55 am
by wb_user
Pablo wrote: Mon Apr 11, 2022 2:08 pm You can use nested layout grids where the outer layout uses the <main> tag.
or use custom HTML where you add <main> to the first grid and </main> to the last grid.
use your first method.
thanks.