<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#image-shape { | |
float: left; | |
width: 100px; | |
height: 200px; | |
object-fit: cover; | |
margin-right: 50px; | |
} | |
#content { | |
font: 50px/1 Ahem, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
color: green; | |
} | |
</style> | |
<div id="content"> | |
<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<br>X<br>X | |
</div> | |
</body> | |
</html> | |