3 Places To Put Javascript Code: Where Javascript Is Used
JavaScript is used to create interactive websites and is mainly used for client-side validation, dynamic drop-down menus, and displaying data, time, popup windows, and dialog boxes. JavaScript code can be placed between the <body> and <head> tags of an HTML file or external .js files.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
33 views1 page
3 Places To Put Javascript Code: Where Javascript Is Used
JavaScript is used to create interactive websites and is mainly used for client-side validation, dynamic drop-down menus, and displaying data, time, popup windows, and dialog boxes. JavaScript code can be placed between the <body> and <head> tags of an HTML file or external .js files.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 1
Where JavaScript is used
JavaScript is used to create interactive websites. It is mainly used for:
Client-side validation Dynamic drop-down menus Displaying data and time Displaying popup windows and dialog boxes (like alert dialog box, confirm dialog box and prompt dialog box) Displaying clocks etc.
3 Places to put JavaScript code
1. Between the body tag of html 2. Between the head tag of html/li> 3. In .js file (external javaScript)
JavaScript Fundamentals: JavaScript Syntax, What JavaScript is Use for in Website Development, JavaScript Variable, Strings, Popup Boxes, JavaScript Objects, Function, and Event Handlers