Support Forums
Introduction to javascript 1.3 for websites-part 1 - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: Introduction to javascript 1.3 for websites-part 1 (/showthread.php?tid=846)



Introduction to javascript 1.3 for websites-part 1 - Akshay* - 10-08-2009

ex:1

<html>
<body>

<script type="text/javascript">
document.write("This is my first JavaScript!");
</script>

</body>
</html>

u must be aware of HTML / XHTML
to learn javascript

<html>
<body>
<script type="text/javascript">
...
</script>
</body>
</html>

now in this example
let's take a view

the <html> tag is used to start the webpage and similarly </html> is used to close the html page ...now the <body>section defines the body of the webpage and similarly </body> is defined to close the webpage

now the script tag tell the starting the javascript tag...
now where [...] is written here u can write any line

the command used for printing a kine is "document.write(any text)"

this command will write the line u have written in the braces...


for today it is over part 2 will be decided accorind to the popularity of part 1


RE: Introduction to javascript 1.3 for websites-part 1 - gangxter - 10-08-2009

gud

launch the part 2 soon


RE: Introduction to javascript 1.3 for websites-part 1 - gameover - 10-09-2009

part 2


RE: Introduction to javascript 1.3 for websites-part 1 - Code King - 10-09-2009

Shouldn't javascript tutorials be in the web development section, as java is completely different to javascript.


RE: Introduction to javascript 1.3 for websites-part 1 - Sub - 10-10-2009

wrong section this is for java not javascript


RE: Introduction to javascript 1.3 for websites-part 1 - Akshay* - 10-11-2009

@ Code King and @ Sub


sorry..next time i will not do this mistake..