A. No
B. Yes
"async" attribute is used to include External JS Code Asynchronously.
<script src="main.js" async="async"></script>
<html> <body> <script type="text/javascript"> <!-- document.print("Hello"); //--> </script> </body> </html>
What will be the Output of the above Code ?
Is this placement of JS code inside HTML Element is Error Free ?
<html><head><title>My Page</title> </head> <body> <a href="javascript:myFunction();">Click here</a> <script language="javascript" type="text/javascript"> function myFunction() { alert('Hello world'); } </script> </body> </html>
<script src="../main.js"></script>
This code will include External JS inside your webpage.
Why so JavaScript and Java have similar name?
The type of a variable that is volatile is
A hexadecimal literal begins with
The generalised syntax for a real number representation is
When there is an indefinite or an infinity value during an arithmetic value computation, javascript
Which of the following is not considered as an error in JavaScript?