title: Correct type of apostrophe to use in HTML
body: <p>If I write a paragraph using my keyboard straight into a text editor for a HTML document and one of the words has an apostrophe then the apostrophe will be written exactly like this:</p>
  
  <p><code>Here's an example of some text.</code></p>
  
  <p>However if copying from Word, the same sentence would appear as:</p>
  
  <p><code>Hereʼs an example of some text.</code></p>
  
  <p>What's the correct way to show them in a HTML document? As I normally do a find and replace to make them the same as <code>'</code>.</p>
  
  <p>Additionally I can also write them using encoding:</p>
  
  <pre><code>&amp;#700; = ʼ
  
  &amp;pos; = '
  
  &amp;#39; = '
  </code></pre>
  
  <p>Is there a standard way of doing this? I understand that <code>&amp;pos;</code> is a HTML5 thing so <code>&amp;#39;</code> might be the safer option but do you need to escape them? And which apostrophe should be used?</p>