1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • Adding script between <head> and </head>
    
    <html>
    <head>
    <title>TNW (Web Service & ICT Solutions)</title>
    <script>
    var txt = "<b>Welcome to TNW (Web Service & ICT Solutions)!</b><br /><br /> TNW provides the best ICT Solutions for your business by the reasonable price.";
    function myFun(){
    document.getElementById("demo").innerHTML = txt;
    }
    </script>
    </head>
    <body>
    <p id = "demo">TNW</p>
    <button type = "button" onclick = "myFun()">Click Here</button>
    </body>
    </html>
    
     Open notepad or text editor and write the above codes. Then, save it as test.html and try to open by one of the browsers on your computer.
    
    Adding Script between <body> and </body>
    
    <html>
    <head>
    <title>TNW (Web Service & ICT Solutions)</title>
    </head>
    <body>
    <p id = "demo">TNW</p>
    <button type = "button" onclick = "myFun()">Click Here</button>
    <script>
    var txt = "<b>Welcome to TNW (Web Service & ICT Solutions)!</b><br /><br /> TNW provides the best ICT Solutions for your business by the reasonable price.";
    function myFun(){
    document.getElementById("demo").innerHTML = txt;
    }
    </script>
    </body>
    </html>
    
    Open notepad or text editor and write the above codes. Then, save it as test.html and try to open by one of the browsers on your computer.