<p>A string of text <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/12005/purple-square.png"></p>
p {
  border: 2px solid #ccc;
  font-size: 15px;
  line-height: 4;
}

img {
  vertical-align: middle;
}

body {
  margin: 40px;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.