0

HTML 5

Hello I have 2 questions: 1. Hi do I understand properly when <aside> tag is used inside of <article> tag then it relates to the heading of the article and when it is used outside of <article> it is connected with the articles information (content)? 2. In the below mentioned code code why do we write <h1>Welcome</h1> after <article> when after it we write <section> with its heading <h1>Heading</h1>??? <article> <h1>Welcome</h1> <section> <h1>Heading</h1> <p>content or image</p> </section> </article>

23rd May 2018, 5:02 PM
Pavel
1 Odpowiedź
0
1. Yes it is. 2. The article has one heading. Also, an article can have several sections. Sections, which have their own headings. Indeed, for sections it is more correct to write the headings level lower (h2 for this). But this is not a mistake, only semantics.
23rd May 2018, 8:07 PM
Alexander
Alexander - avatar