+ 1
What is the difference between aside,article,section because when I run the code it still looks like <p>
2 Answers
+ 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?â
+ 1
thanks d answer really helped a lot