title: HTML Vertically Center h1
body: <p>I have this html that contains two inline divs:</p>
  
  <p>HTML</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>div.inline {
    display: inline-block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="inline"&gt;
    &lt;img src="http://via.placeholder.com/350x150" /&gt;
  &lt;/div&gt;
  
  &lt;div class="inline"&gt;
    &lt;h1 class="title"&gt; TOPIC &lt;/h1&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The image and the <code>h1</code> are shown correctly side by side. Now i would like the <code>h1</code> to be vertically centered. It should be somthing like this</p>
  
  <pre><code>+----------+
  |          |
  |   IMG    |    TOPIC 
  |          |
  +----------+
  </code></pre>
  
  <p>How do i do this?</p>