Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Inside which HTML element do we put the JavaScript?
Home
JavaScript
Inside which HTML element do we put the JavaScript?
0
votes
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
Inside which HTML element do we put the JavaScript?
a) <script>
b) <head>
c) <meta>
d) <style>
javascript
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 10, 2022
by
SakshiSharma
Answer:- A
Reason: <script> is the element where we put the javascript.
Related questions
0
votes
Q: What if we put ++ operator inside if condition? find the output of below code <script> var a = 10; if(a == a++) document.write(a); </script>
asked
Oct 9, 2022
in
JavaScript
by
Robin
javascript
code
0
votes
Q: HomeSite 5 is a well-liked HTML and JavaScript editor from Macromedia.
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
javascript
macromedia
0
votes
Q: Choose the correct JavaScript syntax to change the content of the following HTML code.
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
javascript
0
votes
Q: In JavaScript, what do we use for calling the expression for function definition?
asked
Dec 1, 2022
in
JavaScript
by
john ganales
expression
javascript
0
votes
Q: A developer must not only know HTML and CSS but should also know JavaScript to develop front-end applications using Vue JS. Do you agree?
asked
Mar 6, 2022
in
VueJS
by
sharadyadav1986
html
css
javascript
vuejs
0
votes
Q: How can we detect OS of the client machine using JavaScript?
asked
Jun 9, 2022
in
JavaScript
by
sharadyadav1986
client-machine
javascript
0
votes
Q: What output will come if we run the following part of the JavaScript code?
asked
Mar 24, 2021
in
JavaScript
by
sharadyadav1986
javascript
output-code
0
votes
Q: What will happen if we execute the following code of JavaScript?
asked
Mar 24, 2021
in
JavaScript
by
sharadyadav1986
javascript
function
0
votes
Q: What output we may get if we execute the following JavaScript code:
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
code-output
+1
vote
Q: Should I use Xml or Text, Javascript, or Html as a Return Type?
asked
Nov 27, 2022
in
AJAX
by
sharadyadav1986
xml
test
javascript
return-type
...