<!DOCTYPE html>
<style>
div {
  font-size: 10px;
  line-height: 1;
}
.blue {
  display: inline-block;
  vertical-align: bottom;
  width: 10px;
  height: 10px;
  background: blue;
}
</style>
<body>
  <div>x<span class="blue"></span></div>
  <div>x<br><span class="blue"></span></div>
</body>
