Home / Education / What is JavaScript or JS?

What is JavaScript or JS?

JavaScript (JS) is a scripting language .Which was developed by Netscape. JavaScript is used in HTML.

Main features of JavaScript are as follows:

  • JavaScript(JS) is a lightweight.
  • JavaScript is interpreted programming language.
  • JavaScript is designed for creating network-centric applications.
  • Complementary to and integrated with Java.
  • Complementary to and integrated with HTML .It is mainly written with HTML.
  • It is an open and cross-platform.
  • JavaScript is built into all the major modern browsers.
  • It ignores spaces, tabs, and newlines that appear in JavaScript programs.
  • It always written with starting and ending tags for example <script> js code</script>
  • You can place the <script> tag containing your JavaScript anywhere within you web page but it is preferred way to keep it within the <head> tags.
  • JavaScript also written within footer also.
  • If you consider page loading time then you must written it within footer.

The script tag takes some important attributes:

                  e.g. <script …>   JavaScript code </script>

  • 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 and its value should be set to “text/javascript”.
  • So your JavaScript segment will look like:

            <script language=”javascript” type=”text/javascript”>

             JavaScript code  </script>

First JavaScript Script:

Let us write our class example to print out “Hello AllHelpServices!”



 <script language=”javascript” type=”text/javascript”>

<!–    document.write(“Hello AllHelpServices!”) //–>




Result of above code will be : Hello AllHelpServices!

About Helpservices

About This site (allhelpservices.com) is dedicated to helping other bloggers learn the skills of blogging, wordpress, education, technology, social media sharing , SEO, Electronics, Earn Money From Blogging, Web hosting and web share their own experiences and promote the blogging medium. We started Allhelpservices in August 2015 mainly because we wanted to keep a record of what we wear learning from development and because we wanted to connect with other learners.

Check Also

style sheet

What are ways of inserting a style sheet?

Cascading Style Sheets (CSS) describe how documents are presented on screens, in print, or perhaps ...


  1. I loved your article post.Thanks Again. Want more. Koopman

  2. This is one awesome article.Thanks Again.

  3. I really like and appreciate your blog article.Thanks Again. Really Cool.