728x15 Ads

bar

Exclusive html by Mrs. SaiSabitha Pramodh

JAVASCRIPT

JAVA SCRIPT

Introduction :Java Script ek Scripting language hai . Scripting language ka matlab aisi Programming Language se hai jo ki interpreter execute karta hai vo bhi within a web browser. Programs jo in scripting languages such as JavaScript mein likhe jate hain are interpreted when a scripting engine HTML page ko load karta hai. A scripting engine interpreter hota hai jo ki web browser ka part hota hai. A web browser jiske pass scripts ko translate karne ke liye scripting engine hota hai is called scripting host.NetScape navigator and IE are examples of Scripting host.It was introduced by NN.

Definition: ek high-level programming language jo ki another program ke dwara interprete ki jati hai runtime par rather than compiled by the computer’s processor as other programming languages (such as C and C++) are. Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page.

Syntax:

The Statements jisse ki JavaScript program banta hai in tags ke andar rakhe jate hain.
tag.
Language attribute scripting language ki language descibe karta hai and scripting version bhi . Ye most of the web browsers ki default scripting language hoti hai . The other Scripting languages are VBSCRIPT,JSCRIPT.

Eg

Objects in JavaScript:
• object vo programming code and data hota hai jo individual unit or component ki tarah treat hota hai.Java Script treats many things as object
• Document object browser window ke contents ko define karta hai.
• Koi bhi text ,graphics or other information displayed in a web page document object ka part hota hai.
• Ye new text ko web page par add karne ke liye writeln() method ka use karta hai .to get a carriage return after the line of text ,it is recognised
tags as below  

hello
hello
hello how are you
hello

0 comments:

Post a Comment

Copyright © eAZy EnginEEriNG