- JavaScript is the programming language for Web.
- JavaScript is used to make the webpage more interactive
- This is a client side scripting language.
- All web browsers can support.
- It can run on any operating systems
- JavaScript is a object-based scripting language .
- It is case- sensitive.
- JavaScript accepts both double and single quotes.
- In this editor we are using inbuilt editor and browser, so no need to save this file.
- In computer you need a editor like notepad, notepad++ for typing your HTML code.
- Open any editor and type your HTML code into that editor(notepad or notepad++) and save the file with (.html) extension. If you want to execute the file just double click and open it.
- This is a JavaScript method is used to disaplay the alert box with specific message and ok button.
- when will the alert box display,Focus will be change from the current focused element to the alert box.
Code:-
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<button type="button" onclick="alert('Alert display');">Display Alert</button>
</body>
</html>
- JavaScript is a object-based scripting language .
- It is case- sensitive.
- JavaScript accepts both double and single quotes.
- In this editor we are using inbuilt editor and browser, so no need to save this file.
- In computer you need a editor like notepad, notepad++ for typing your HTML code.
- Open any editor and type your HTML code into that editor(notepad or notepad++) and save the file with (.html) extension. If you want to execute the file just double click and open it.
- This is a JavaScript method is used to disaplay the alert box with specific message and ok button.
- when will the alert box display,Focus will be change from the current focused element to the alert box.
Code:-
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<button type="button" onclick="alert('Alert display');">Display Alert</button>
</body>
</html>
JavaScript:- introduction
Reviewed by Network security
on
May 23, 2019
Rating:
No comments: