+ 1

What is the difference between aside,article,section because when I run the code it still looks like <p>

26th Oct 2018, 7:25 AM
Adeleke Bamidele
Adeleke Bamidele - avatar
2 RĂ©ponses
+ 2
section – Used for grouping together thematically-related content. Sounds like a div element, but it’s not. The div has no semantic meaning. Before replacing all your div’s with section elements, always ask yourself: “Is all of the content related?” aside – Used for tangentially related content. Just because some content appears to the left or right of the main content isn’t enough reason to use the aside element. Ask yourself if the content within the aside can be removed without reducing the meaning of the main content. Pullquotes are an example of tangentially related content. article – Used for element that specifies independent, self-contained content. An article should make sense on its own. Before replacing all your div’s with article elements, always ask yourself: “Is it possible to read it independently from the rest of the web site?”
27th Oct 2018, 8:33 AM
Panayiotis Spanos
Panayiotis Spanos - avatar
+ 1
thanks d answer really helped a lot
27th Oct 2018, 10:02 AM
Adeleke Bamidele
Adeleke Bamidele - avatar