Click to See Complete Forum and Search --> : Body Tags


Drdsr
09-05-2003, 11:28 AM
What's the difference between the main body (<BODY>) of a document, and the "body tag"?

ColdSteel
09-05-2003, 11:59 AM
Well, if I understand your question correctly the difference is that the <Body> tag is actual HTML while something like:

<STYLE type="text/css">
<!--
BODY {
scrollbar-base-color:silver
;
}
-->
</STYLE>

is a Javascript tag that is changing the body of the html site dynamically....if you follow my flow...(by the way...the above code is for changing the color of scrollbars...) Hope this helps...

ColdSteel
09-05-2003, 12:00 PM
oops...meant the say that the above code was a CSS coding...not Javascript...sorry...

Drdsr
09-05-2003, 12:01 PM
More specifically, I see Javascript instructions that say "put [this] in the body, put [this] in the body tag".

pyro
09-05-2003, 12:02 PM
Originally posted by ColdSteel
by the way...the above code is for changing the color of scrollbars...By the way, changing the scrollbars is not valid css, it is M$ proprietary crap...

ColdSteel
09-05-2003, 12:09 PM
ok...now I see what you maen...if something tells you to put something in the body tag then your probably making something like: <Body onload="whatever"> or if you hear that your supposed to put it into the body of your website then it's just actual content...something like:

<Body>
This is the content!
</Body>

Hope this helps....