title: How to keep the text vertically aligned in any condition?
body: <p>For example in the below image I want keep the text always vertically aligned in all condition. even if text is in one, two or three lines.</p>
  
  <p>means the text should be vertically centered always. I don't want to add extra <code>span</code></p>
  
  <p><img src="https://i.stack.imgur.com/iIWUh.jpg" alt="enter image description here"></p>
  
  <pre><code>&lt;div&gt;
  &lt;img src=abc.jpg"&gt; Hello Stackoverflow. Thank you for help me
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to achieve with this html.</p>
  
  <p><strong>Edit</strong></p>
  
  <p><strong>And I don't want to give fix width and height to any element</strong></p>