Please can someone give me diffreent between Div and section and their beneit of using it with example
Div are only some containers.
Div does what did before too. They are more like a place holders, containers that help us on styling our site better but they don't define anything specific. If you want, you don;t even have to use div, unless you use them for css support.
Sections are defining parts of our site better. Think that all these html new tags are added just because they communicate better with new devices.
So divs can wrap up sections and sections can contain divs.
Here is a code sample
<!-- we use div for css help - probably don;t even need it -->
<!-- we can add div instead of <p> too -->
<p>Cat text excerpt</p>
<section class="dog_articles"> ... </section>
</div> <!-- end of main_holder -->
Add to new playlist:
Add to cart:
Below are the supported keyboard shortcuts for our video player.
Share a link, or share with Facebook and Twitter:(you'll be able to edit the text before you post it)
It looks like there might be an issue playing videos in this browser. We're working on better cross-brower experience, but in the meantime please try the latest Chrome or Firefox browsers. Or, you may be able to watch the video directly without progress tracking or transcript:
Answer a few quick questions and we'll help you figure out what to watch first.
See a full list of all 2000+ videos on BuildAModule (great for quick browser searching).
Learn more about the different video collections.