JavaScript


JavaScript = behavior of web page.

HTML = to content of the web page.

CSS = to specify the layout of the web page.

invented in Brendan eich 1997.

ECMA is a official stranded.

JavaScript can change the content of an html element.

JavaScript can change the content of an html attributes values.

JavaScript can change the CSS styles.

java script can show or hide the html elements

In html JavaScript must be inserted in <style> tag.

·        JavaScript is not java


·        Java Script is used to develop an web application.


 Java script can run in browser.

·        We can add JavaScript in head tag as well bellow the head tag.


·        JavaScript we can run in html code also by using <script> tag.


·        Also we can create separate file to keep javascript file seprate and attached from html file.

<script type="text/javascript">
    alert('hello by javaScript alert')
</script>

Popular posts from this blog

program to H+ELL+O W+ORLD print + before each vowels