Anyone can explain me If this is right? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone can explain me If this is right?

Header>Section>div>img Main>Section>Div>article>p Footer>Section>Div>p _________________ I dont know If this is right, thanks for reed.

28th May 2016, 8:14 PM
Jhon Abril
Jhon Abril - avatar
4 Answers
+ 2
it depends on what you are trying to do. The div elements are not needed, as the section element is acting similar to the div.
29th May 2016, 4:40 PM
James Flanders
+ 2
both can be nested in each other. the article tag is used for a standalone piece of content (for example, a news item) section is used to group together different articles. or to define a separate section of an article. so both ways work just fine and depend on your website structure.
29th May 2016, 5:13 PM
James Flanders
0
thanks James for answer my question. I have other question. >>>What is first, Article or Section? I'm sorry for my english.
29th May 2016, 5:04 PM
Jhon Abril
Jhon Abril - avatar
0
oh, I really thank you, i understand now, your explanation was perfect, again, thank you so much.
29th May 2016, 5:26 PM
Jhon Abril
Jhon Abril - avatar