www.webdeveloper.com
Results 1 to 3 of 3

Thread: Javascript external file

  1. #1
    Join Date
    Nov 2013
    Posts
    1

    Javascript external file

    The following is in my html file:
    <html>
    <head>
    <link rel="shortcut icon" href="favicon.ico" >
    <title>Global Accounting </title>
    <LINK rel="stylesheet" type="text/css" href="style.css">

    </head>

    <body>

    <style type="text/css">
    body {background-image:url('background.jpg');}
    </style>


    <script type="text/javascript" src="GAW.js"> </script>


    <nav>
    <h3><a href="Home.html" style="color:black " class="button">Home </a> &nbsp;| <a href="contact us.html"style="color:black" class="button">Contact us</a> | <a href="About us.html"style="color:black "class="button">About us</a> | <a href="Updates.html" style="color:black " class="button">Updates</a></h3>

    </nav>


    <div class="global"><h3>Global Accounting</h3>
    </div>

    <div align="center">

    <div class="center2">

    <br>
    <img src="global new logo1.jpg" align="middle" alt="Global Accounting Logo">
    <p>Professinal Accountants S.A</p>
    </div>

    <br>


    <br><br>
    &copy; 2013 Global Accounting - All Rights Reserved
    </body>

    </html>


    the following is in my javascript file:
    documnet.write("hello world")

    problem:
    hello world does not show in my web browser what am i doing wrong

    thanx in advance!

    notes:
    Both files are saved in the same folder

  2. #2
    Join Date
    Oct 2013
    Posts
    404
    Quote Originally Posted by movarind View Post
    documnet.write("hello world")
    Spelling counts. Try document.write.

  3. #3
    Join Date
    Oct 2013
    Posts
    404
    Speaking of spelling:
    <p>Professinal Accountants S.A</p>

    should be:
    <p>Professional Accountants S.A</p>
    so it looks ... well ... professional.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles