What is JavaScript ?
- Get link
- X
- Other Apps
What is JavaScript?
- JavaScript was designed to add interactivity to HTML pages
- JavaScript is a scripting language/ a scripting language is a lightweight programming language
- A javascript consists of lines of executable computer side
- A javascript is usually embedded directly into HTML pages
- Javascript is an interpreted language /means that script execute without preliminary compilation
- Everyone can use Javascript without purchasing a license.
- It is free to use for everyone.
- To insert a JavaScript into the HTML page, we use the <script>tag
<SCRIPT LANGUAGE="JavaScript">
//Javascript code goes here
</SCRIPT>
the tag "<Script>" is an open tag for Javascript and "</Script>" is closing tag for Javascript.
Attribute:
Language: Indicates the scripting language used for writing the scripting code.
- The word document.write is a standard javascript command for writing output to a page
- By entering the document. write command between the <script type="Javascript"> and </script> tags, the browser will recognize it as a javascript command and execute the code line.
For example:
<HTML>
<Body>
<script type="javascript">
document.write("Hello World")
</script>
</Body>
</Html>
The code above will produce this output on an HTML page :
- Get link
- X
- Other Apps
Popular posts from this blog
What is Python ? Intoduction of Python
Introduction of Python Python is the most used high-level programming language it's created by GUIDO VAN and first introduced in 1991. Python is contain object-oriented programming feature like java,c++ etc.Also in current time python is used for Data Science, hacking security applications and many other major areas in IT. Python used to execute the command in your terminal, using an interpreter so python use interpreter for run program. Python is open source and python is available for any Operating System like Linux, Unix, Window, MAC, Linux many more. Python is developed in the C++ Object-oriented programming language comparing other language python give you sample code and easy to understand in such are variable creation, define the function, object creation, many other areas.sum sample Arithematic operation in other languages with large and complex logic codes then Python gives this operation with small and sample logic with faster output. How v...
In Python Calculation addition,subtractions,multiplication,division,and ...
Programming in C learn sample Program
Sample program of C language with structure explanation C language is a general-purpose programming language in old-time c is know as B language that means Basic combine Programming language (BCPL). C language is found by Denis Ritchie in 1972 something and C is used Compilers for debug and run c program it is very fast executed and compile. C language generally says it is OOP means object-oriented programming language but c support some OOP concept but it is a not pure Object-oriented programming language. Basically, there are three types of Programming Languages..(1) Procedural Programming Language ...
Comments
Post a Comment
Thank you for comment and your feedback.