The code is as follows:
<div id="compv-navbar">
<a href="#"><img src="image1.png" id="icon1"></a> |
<a href="#"><img src="image2.png" id="icon2"></a> |
<a href="#"><img src="image3.png" id="icon3"></a> |
<span id="view_name"> Random Text</span>
</div>
Assume that each image has another image with suffix '-hover' that will be image to be replaced on hover.