Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Introduction to javascript 1.3 for websites-part 1
#1
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
[Image: 2d75599e9a.png]:superman:
Reply
#2
gud

launch the part 2 soon
Reply
#3
part 2
Reply
#4
Shouldn't javascript tutorials be in the web development section, as java is completely different to javascript.
Quote:Who has two thumbs and doesn't give a crap.......Bob Kelso......Have we met?
[Image: BobKelso.jpg]
Reply
#5
wrong section this is for java not javascript
Reply
#6
@ Code King and @ Sub


sorry..next time i will not do this mistake..
[Image: 2d75599e9a.png]:superman:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  List of Top Websites to Learn How to Code tk-hassan 0 404 06-13-2021, 11:29 PM
Last Post: tk-hassan
  Free Worker HTML, CSS, Javascript ImFocuzz 2 1,284 04-05-2014, 10:01 PM
Last Post: VHPanda
  IP locator websites..? Fragma 17 4,470 10-28-2012, 09:54 PM
Last Post: Hack3rzGod
  [MyBBError Message] PLEASE HELP ME!! Enable Javascript Registration Error iRun 4 1,930 01-26-2012, 03:13 PM
Last Post: iRun
  Close Tab With Javascript. Qua 3 1,414 07-02-2011, 07:25 AM
Last Post: djakariuz

Forum Jump:


Users browsing this thread: 1 Guest(s)