Question: 21 Which of the following is the correct JavaScript syntax to assign the photo spring.jpg to an Image defined in the body as follows: (2




21 Which of the following is the correct JavaScript syntax to assign the photo "spring.jpg" to an Image defined in the body as follows: (2 Points) O doucument.getElementById("winter").setAttribute("src", "spring.jpg"); o season.open("spring.jpg"); season = spring.jpg"; O season.src("src", "spring.jpg"); O doucument.getElementById("season").setAttribute("src"," spring.jpg"); O doucument.getElementById("season").setAttribute("src"." winter.jpg"); 22 What will be the output of the following JavaScript code? * (2 Points)
result=
k/body> O 20 O result=20 O 4 O result=4 The following php code inserts a record in the table named section (it fields, name, id, mark) in the database "webstudent". The query is saved in the variable $query2. $query2 =Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
