0
What is the difference between div, article and section? When to use each? Please explain them with practical example/analogy
online definitions are so generic, could you please explain them with simple terms and analogies? thank you.
2 Antworten
+ 1
Simple Example :
Your post is an article.
Now heading of post , tags and description are section.
And atlast div is used to group tags and style them instead of styling individually.
Hope this helps☺️☺️.
0
thanks MEET MEHTA