Solution to Apostrophe in HTML& others

Are you having difficulty getting the apostrophe in HTML working in your web project’s HTML and other codes? Here are some 4 simple ways to get around it:

  1. Use double quotes surrounding the string
  2. Use HTML code: '
  3. Use HTML code: '
  4. Use HTML code: '

The ASCII HTML codes in 2, 3 and 4 above come in handy in other situations as well. Learn and get more reference codes here.