These tags, <main>, <article> and <section> looks very confusing; so let's start with <main> — what it can do which others can't!
First thing is <main> element doesn't come inside <article> element, and inside other smaller elements like <header>, <footer>, <aside>, <nav> and so forth.
Second thing, the purpose of <main> element is to show the "main content" the richly piece of a webpage. So you can't use <main> element everywhere.
It would be a niece idea, if one wraps <article> element inside <main> element. There may be many <article> elements inside <main> element — but can't many <main> elements in a single webpage ('coz more than one <main> element would have lost its purpose, I think).
Comments
Post a Comment