Your first JavaScript code - Javascript Language Basics

Javascript examples for Language Basics:Introduction

Introduction

A Simple Inline Script

Demo Code

ResultView the demo in separate window

<!DOCTYPE HTML>
<html>
    <head>
        <title>Example</title>
    </head>
    <body>
        <script type="text/javascript">
            document.writeln("Hello");
        </script>
    </body>
</html>/*from   ww  w  .j  ava  2 s.  c om*/

Related Tutorials