Upload
rana-usman
View
130
Download
2
Embed Size (px)
Citation preview
PRESENTED
BYMUHA
MMAD
USMAN
JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page.
MY AIM IS TO DISCUSS THE FUNDAMENTAL ASPECTS OF JAVA SCRIPT
WHAT
PRO AND CONSHOW TO USEIMPLEMENT
EXAMPLE
SEQUENCE
What is Java Script Dynamic Programming Language.
Client-side scripts to interact with the user
Control the browser. Also used in used in server-side
programming.
Pro and Cons of JS Javascript is executed on the
client side Javascript is a relatively easy
language Extended functionality to web
pages
Security Issues Javascript rendering varies
How to Use in HTML Knowledge of HTML Text Editor Web Browser
JavaScripts in HTML must be inserted between <script> and </script> tags.
JavaScripts can be put in the <body> and in the <head> section of an HTML page.
Internal Java Script
External Java Script
<html><head>
<script> //Type JS Script Here
</script></head><body>…</body><html>
<script lang="text/javascript" src=“URL of .JS File">
</script>
Write First
Program<html><head>
<title>Hello World in JS</title><script language="javaScript">
document.write("Hello World");</script>
</head>
<body></body></html>
Thank You