There are plenty of books on this subject on the market, thanks again for choosing this one! Every effort was made to ensure it is full of as much useful information as possible, please enjoy!
What is JavaScript?
JavaScript is an interpreted programming language, so it is not necessary to compile the programs to execute them. In other words, programs written with JavaScript can be tested directly in any browser without the need for intermediate processes.
Despite its name, JavaScript has no direct relationship with the Java programming language.
How to include JavaScript in XHTML documents
The integration of JavaScript and XHTML is very flexible since there are at least three ways to include JavaScript code in web pages.
Include JavaScript in the same XHTML document
The JavaScript code is enclosed between <script> tags and is included anywhere in the document. Although it is correct to include any block of code in any area of the page, it is recommended to define the JavaScript code within the header of the document (within the