Computer Science, asked by mullaimtiyaz325, 7 months ago

write javascript programto set three different background color to web page on onclick , onmouseover ,onmousemove events of button object​

Answers

Answered by lalankumar99395
4

In this post, the working of onmouseover event is shown by changing the colours of a paragraph by taking the mouse over a particular colour.

HTML code that will change the colour of the background when the mouse is moved over a particular colour.

Answered by anuradhabilaspur1984
0

Answer:

Use the JavaScript style property

You can easily change the background color of a webpage i.e. the <body> element or any other element dynamically by using its style property in JavaScript.

The style property is used to get as well as set the inline style of an element. Typically, any HTML element that supports the style attribute also has a style property.

Hope it is helpful

Mark it as brainliest ....❤

Similar questions