WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Yes
|
|
No
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -To include an external JavaScript file, we can use the script tag with the attribute src . You’ve already used the src attribute when using images. The value for the src attribute should be the path to your JavaScript file. This script tag should be included between the <head> tags in your HTML document.
Detailed explanation-2: -The <script> Tag In HTML, JavaScript code is inserted between <script> and </script> tags.
Detailed explanation-3: -Answer. we can embed code inside HTML directly This statement is true.
Detailed explanation-4: -You can add JavaScript code in an HTML document by employing the dedicated HTML tag <script> that wraps around JavaScript code. The <script> tag can be placed in the <head> section of your HTML or in the <body> section, depending on when you want the JavaScript to load.