www.what is the use of onclick in html code example Example: calling function on click html <img src="hospital.png" id="hospitals" onclick="damarkers();">