<h1 class="replace-image-span">
  <img src="https://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif" alt="SitePoint" />
  <span>SitePoint</span>
</h1>
body {
  font-family: 'Lato';
  margin: 30px 40px;
}

.replace-image-span {
  width: 264px;
  height: 106px;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/SitePointLogo.png");
}

.replace-image-span span{
  display: none;
}

External CSS

  1. https://fonts.googleapis.com/css?family=Lato

External JavaScript

This Pen doesn't use any external JavaScript resources.