I am looking to showcase both image and text on the same line, similar to how it's done on tripadvisor.in/
<div style="display:inline-block">
<div style="display:inline;float:left">
<a href="CollegeProfile.php" class="white">
<h4 style="margin-bottom:10px;display:inline">Great place for learning</h4></a>
<br /><a href="CollegeProfile.php" class="white">Check out reviews of Indian Institute of Management, Ahmedabad</a>
</div>
</div>
<div style="display:inline-block">
<img class="shakeImage" src="assets/img/author.jpg" style="border: 1px solid white;height:60px;display:inline" />
</div>
This code snippet achieves displaying both image and text on the same line.