Let’s look a small example…..
above code gives you this
by clicking the Click Me button you can change the content
- Language: This attribute specifies what scripting language you are using.
- Type: This attribute is what is now recommended to indicate the scripting language in use
Ok as usually let’s start from HELLO World ! 🙂
document.write (“Hello World!”)
This code will produce the following result:
We can talk more about JS by next parts.