This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by bobbysmith
over 10 years

What is the purpose of the 'body' tag?

What is the purpose of the ‘body’ tag? Can’t the ‘body’ tag’s contents be effectively implemented without any tags, since it’s already within the ‘html’ tag?

I tested it out in the module, and whatever the ‘body’ tag accomplished in this exercise worked even without the ‘body’ tag, just as in the previous exercises (though here it said I hadn’t completed the exercise since I didn’t insert ‘body’ tags).

If there is an explanation, please also incorporate that into this lesson itself.

Answer 5201ab4580ff33751b00139a

2 votes

Permalink

It is important to get into the habit of using the body tag because when you get into CSS you will probably want to change just the body, and not the whole page.

points
Submitted by Chucklet
over 10 years

Answer 51e1e02c9c4e9d4a520006d9

1 vote

Permalink

just trust me bro, it’s important

points
Submitted by CactopusOpus
over 10 years

Answer 52381dfbf10c60aa76002503

1 vote

Permalink

What chuck said. It’s good to get into the habit, just plop all your stuff you need in there.

Hope I helped!

~Jacob

points
Submitted by Jacob Chatfield
over 10 years