Why does the section element should not be used only inside an article element? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why does the section element should not be used only inside an article element?

<article> <h1>Welcome</h1> <section> <h1>Heading</h1> <p>content or image</p> </section> </article> Its for example. Its inside of article, isnt it?! Or i dont understand something?

25th Sep 2017, 9:18 PM
Oleksandr Rubtsov
Oleksandr Rubtsov - avatar
8 Answers
+ 3
false
1st Jan 2020, 11:24 AM
Imanuel Wicaksono
Imanuel Wicaksono - avatar
+ 2
false
3rd Mar 2020, 7:02 PM
Sebastian Scott
Sebastian Scott - avatar
0
My understanding is that articles are created to separate a little bit content, so it would be more visible in the code. So when you make a web site and know that some content will be changed sooner or later (like opening hours or whatever) you would want to be able to find it fast. Especially if the site contains a lot of texts (like blogs) So you can, but don't have to, and you make this decision depending of content of the site.
28th Sep 2017, 8:47 PM
Dominika Rek
Dominika Rek - avatar
0
True Or False?!!
1st May 2019, 12:04 AM
Kevin Owney
0
The section element should be used only inside an article element. the correct answer is false
3rd Jun 2020, 8:41 AM
revita nisya afifah
0
Falsa
4th Oct 2022, 10:55 AM
Hafsah Banda
0
false
18th Oct 2022, 8:36 PM
farid khairy
0
false
19th Jan 2023, 10:55 PM
Mâhêr Adêl
Mâhêr Adêl - avatar