Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

where to use Div's

Hi folks, i dont find the video tuts of div tag..where should i find them

Care to be more specific?

???????????/

Not sure if you're looking for a video dedicated to div's but I don't think there is one.

I think through practice you'll learn where to use them.

yes i am looking for a video dedicated to div's..but i couldn;t find it.. thanks

Ok, I think if you start going through some of the project based courses you'll see the use of div's and you'll get a better idea of when they should be used.

Div's are a general purpose element and should be used when you don't have a more semantic element to use instead.

Div's have been traditionally used to contain the major blocks of a webpage but they're also used as containers for slideshows, etc...

There are many uses for them and as mentioned I think with practice you'll learn the different uses for it.

Edit: Project based courses like "How to make a Website"

1 Answer