Moofhead
02-18-2008, 08:30 PM
Lesson 1 section has... Begun :)
As you know that html starts as <html> javascript is more different! Actually, it is in HTML but to script the language so you can start it is this following code
<script type="text/javascript">
document.write("Moofhead is fat");
</script>
You start with the <script type="text/javascript"> and then you end it with </script>
You are probably thinking - "What does that code do?" Well it just writes "Moofhead is fat" as the text. In HTML, it is simple as
<html>Moofhead is fat</html>
Ever wonder why sometimes an internet doesn't have javascript? Well theres a solution to it that Moofhead found! (I did not make, I found) All you do is add some arrows to it. Here is an example.
<script type="text/javascript">
<!--
document.write("Moofhead is fat");
//-->
</script>
These arrows will "hide" the javascript content and basicly what I call a magic trick. xD
Lesson 1 section has ended. :cool:
As you know that html starts as <html> javascript is more different! Actually, it is in HTML but to script the language so you can start it is this following code
<script type="text/javascript">
document.write("Moofhead is fat");
</script>
You start with the <script type="text/javascript"> and then you end it with </script>
You are probably thinking - "What does that code do?" Well it just writes "Moofhead is fat" as the text. In HTML, it is simple as
<html>Moofhead is fat</html>
Ever wonder why sometimes an internet doesn't have javascript? Well theres a solution to it that Moofhead found! (I did not make, I found) All you do is add some arrows to it. Here is an example.
<script type="text/javascript">
<!--
document.write("Moofhead is fat");
//-->
</script>
These arrows will "hide" the javascript content and basicly what I call a magic trick. xD
Lesson 1 section has ended. :cool: