Should i put article into section or section into article? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Should i put article into section or section into article?

5th Sep 2017, 6:01 AM
sheikhrafe
3 Answers
+ 2
In training session *HTML5 5/18*, the question part has the following question: "The section element should be used only inside an article element." Correct answer: False Why is it false? The lesson states: "<section> is a logical container of the page or article. Sections can be used to divide up content within an article," and also: "If it makes sense to separately syndicate the content of a <section> element, use an <article> element instead," so I don't get why the answer is false.
7th Sep 2017, 12:34 AM
Jennifer
Jennifer - avatar
+ 1
I believe the <section></section> tag should be nested within the <article></article> .
5th Sep 2017, 11:46 AM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
HTML5 basic structure
5th Sep 2017, 11:47 AM
Antony O. Onyango
Antony O. Onyango - avatar