This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: HTML Forum

View Course » View Exercise

103 points
14a595ac506a12c8966034391cd78410?s=140&d=retro
Submitted by
Polly kate
over 3 years ago

What is the purpose of the div element?

I read that the div element is for grouping. I thought we used opening and closing tags to group things. I have used the div element correctly but I do not see much of a different in the web page- might I see a difference later?


3 votes

permalink

Hi Polly,

Your div elements have opening and closing tags. <div> all the stuff in the div </div>. These div elements ARE for grouping. You will soon see what can be done when you give your div a class and some styling.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

1 Comment

14a595ac506a12c8966034391cd78410?s=140&d=retro Polly kate over 3 years ago

Thank you for your prompt help. I am excited to see what they can do!