/    Sign up×
Community /Pin to ProfileBookmark

Could somebody please tell me the difference between the body and the body tag. I am clueless.?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@CyCoFeb 05.2003 — <body> <-- opening body tag



<!-- The contents of the body -->



</body> <-- closing body tag
Copy linkTweet thisAlerts:
@stacyauthorFeb 05.2003 — How would i do this:

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->

<BODY onLoad="mainTextScroller()">

I cna insert the head and insert into the body, but I don't get this.
Copy linkTweet thisAlerts:
@zebedeusFeb 05.2003 — <BODY onLoad="mainTextScroller()">

should be correct.

But usually the script part of the text scroller goes into the body and not into the head.

So: the onLoad in the body TAG

and the script IN the body

I hope this is what could fix it...?

Zebedeus
Copy linkTweet thisAlerts:
@stacyauthorFeb 05.2003 — I have a scrolling message now. I think I got it now. Thanks.?
×

Success!

Help @stacy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...