+ 2
What is difference between section tag and div tag ??
3 Antworten
+ 6
Hey there, watch this video to fully understand 😃
Video 👇
https://m.youtube.com/watch?v=swWeWesZVZU
☝️ 🎥 When to use Section vs Article vs Div in Html? - YouTube
+ 2
Div is a general page division tag that has been around in HTML before HTML 5, whilst section is a Semantic tag that was introduced with HTML5. Div is a bit more general purpose and can work with a combination of most tags, whilst Section works best with other HTML5 semantic tags like Article, Footer etc
+ 1
It becomes more clear when you learn more about Accessibility (how browser reads it for visually impaired users) and Search Engine Optimization. If these things are none of your concern, you can use divs