JavaScript Syntax

JavaScript in Hindi – JavaScript Syntax in Hindi

JavaScript

Javascript Syntax in Hindi – Ab ham Js Syntax in hindi ke bare me janege. Javascript syntax kya kaise. Iska matlab kya hai etc. syntax in hindi ko janne ke baad me aap achhi tarah se javascript likh sakege |

Also Read – JS Statements And JS Output

Javascript Syntax in Hindi

Javascript syntax ka matlab Javascript statement likhne aur Usse HTML ke sath jodne Etc Rules ka Ek Set Hai.

Example – Kaise Javascript statement likhte hai, Javascript statement likhte time kya – kya dhyan rakhna chahiye, Javascript statement likhne ke niyam koun koun se hai. Javascript program kaise create kar sakte hai, HTML me javascript kaise add kar sakte hai.

Ye Sab javascript syntax ke antargat aata hai. To is article me ham Javascript syntax in hindi ke bare me puri tarah janege.

Javascript Statement in Hindi

Javascript statement kya hai, Kaise likhte hai, Iske niyam kya hai. Iske bare me ham pichhle article Javascript statement in hindi me bataya hua hai. To iske bare me yaha pe batane ki jarurat nahi hai. Agar aapne usse abhi tak read nahi kiya hai. To aap neeche di gayi likh pe click karke read kar sakte hai.

Previous PostJS Statements

White Space and Line Break

Javascript Me Space, Tabs ko ignore kar deta hai. Yani ham javascript me jitna space chahe de sakte hai. Javascript program me line break se code pe koi effect nahi padta hai.

Jab bhi ham koi code likh rahe ho, To ek line me 80 Character se jyada ka code na likhe, Iske liye aap Line break le. Line break operator ke baad se lena achha rahata hai.

HTML File me JavaScript in Hindi

Kisi bhi HTML File me javascript Add karne ke liye <script> </script> tag ka Istemal karte hai. Javascript Code ko ham <script> </script> tag ke andar likhte hai |

Example:

<script language="Javascript" type = text/javascript>
  //Javascript Code here
</script>

<script> tag ke 2 attribute hote hai. Jinke Help se Type aur scripting language define kiya jata hai.

Langauge – Iske dwara us language ko design karte hai. jo ham use kar rahe hai. Jaise – Javascript ya PHP

Also Read – Full PHP Course In Hindi

Type– Is attribute ke dwara type define kiya jata hai. Jaise text/javascript

Javascript Code ko HTML File me <body> </body> tag ke beech me add karte hai. Jisase javascript ko Browser full load kar sake.

Also Read – HTML Full Course In Hindi

Example:

<!DOCTYPE html>
<html>
  <body>
    <script>
    document.write("Hello World!");
    </script>
  </body>
</html>

Ye Aap dekh sakte hai Yaha pe simple ek function create kiya hai. Usme ek string pass ki hai. hello world Aur isko HTML me add kiya gaya hai. Iska Output bhi dekh sakte hai.

Output:

Hello World

Isprakar ham Javascript ko HTML me add kar sakte hai. Or Run kara sakte hai.

Js Case Sensitivity in Hindi

Javascript ek Case-Sensitive Language hai. Yani jab bhi keyword, Variable, Function name aadi ko create kar rahe ho, Usake baad dubara usse Use karne ke liye Same word hona chahiye.

ExampleTime Or time alag – alag mane jayege. Capital letter, Small letter ka dhyan rakhna hoga.

Friends Mujhe Umeed Hai Ki Aapko Syntax in Hindi Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai |

Yadi Aapne  HTML Full Course  And CSS Full Course And Python Full Course And PHP Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

Leave a Reply

Your email address will not be published. Required fields are marked *