How should you complete the markup?

Posted by: Pdfprep Category: 98-382 Tags: , ,

HOTSPOT

You are designing a web page that contains a blue button. When the button is pressed, it should call a function that displays the message ‘Welcome!’. When the cursor hovers over the button, the button should turn red. When the cursor leaves the button, the button should revert back to its original color of blue.

You want to complete the markup using the appropriate HTML events.

How should you complete the markup? To answer, select the appropriate event in the answer area.

NOTE: Each correct selection is worth one point.

Answer:

Explanation: https://www.w3schools.com/jsref/dom_obj_event.asp

Leave a Reply

Your email address will not be published.