Results 1 to 3 of 3

Thread: Javascript external file

  1. #1
    Join Date
    Nov 2013

    Javascript external file

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



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

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

    <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>


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

    <div align="center">

    <div class="center2">

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


    &copy; 2013 Global Accounting - All Rights Reserved


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

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

    thanx in advance!

    Both files are saved in the same folder

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

  3. #3
    Join Date
    Oct 2013
    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