<!DOCTYPE html>
<html>
<head>
<style>
#image-shape {
float: left;
width: 100px;
height: 100px;
object-fit: contain;
}
#content {
font: 50px/1 Ahem, sans-serif;
color: green;
}
</style>
<div id="content">
X<br>
<img id="image-shape"
src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10px' height='10px'><rect width='10' height='10' fill='blue'/></svg>"/>
X<br>X<br>X
</div>
</body>
</html>