<section> vs <div> ?

+2 Junaid Khan · April 5, 2015
bucky why are you using <section> instead of <div> ??? am doing my assignment and we have been encouraged to use <div> !!! plz help

Post a Reply

Replies

Oldest  Newest  Rating
+1 Evan Ware · April 6, 2015
Section is more specific, refers to a section of the page, just like header and footer refer to specific parts of the page. 
Div also works for styling pages, section is part of HTML5.
  • 1

HTML / CSS / Web Design

107,259 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators