+ 1

By placing the javascript at the bottom of the body tag is it the same as placing it inside the body tag??...someone help me.😧

adding javascript to a web page

11th Aug 2020, 12:26 PM
Meshack Mulei
Meshack Mulei - avatar
3 Respuestas
+ 3
That depends on where in the body you place it. If it is before or after every html element from the body. If it is right at the end of the body tag, then the result shall be the same as if it would be outside, at the bottom of the body.
11th Aug 2020, 12:28 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
No, that seems right.
11th Aug 2020, 2:04 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
Am i wrong? <body> <script></script> <body>
11th Aug 2020, 1:45 PM
Meshack Mulei
Meshack Mulei - avatar