CBSE BOARD X, asked by pprathimat, 3 months ago

Which element should not be added inside the div tag in css?? 1)h1. 2)img src 3) no element -style it in css 4)title

Answers

Answered by Parav212
2

Answer:

With this var suitableImage = document.getElementById('feel') you'll get the div element not the img element. You should be targeting img element.

suitableImage.innerHTML is a string, so suitableImage.innerHTML.src will be undefined, and there's no value for this statement.

Please make me a brainlist

Answered by meharakshitha4
3
I want to change the images of main webpage according to the value sent in javascript file. I have defined div tag in my html file and placed default value
Similar questions