title: A Line with some text in the left
body: <p>I'm trying to make a horizontal rule with some text in the left. For example:</p>
  
  <p><a href="https://i.stack.imgur.com/1hDpw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1hDpw.png" alt="Like This"></a></p>
  
  <p>How to achieve it with CSS ?</p>
  
  <p>I have done this But didn't get the expected result</p>
  
  <pre><code>h2 { width:100%; text-align:center; border-bottom: 1px solid #000; line-
  height:0.1em; margin:10px 0 20px; } 
  h2 span { background:#fff; padding:0 10px; }
  </code></pre>