<h1 class="avatar">Welcome <span>George!<img src="https://w7.pngwing.com/pngs/545/285/png-transparent-cartoon-sadness-illustration-say-hello-words-phrases-boy-god-sai-baba.png" alt="George"></span></h1>

.avatar {
  font-size: 3rem;
}
.avatar img {
  width: 30px;
  height:auto;
  vertical-align:middle;
}
.avatar span{
  white-space:nowrap;
  display:inline-block;
}


Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.