title: recognize html code
body: <p>Is there a javascript function that recognize if a string variable contains HTML code? 
  I would like to avoid this case because if I use innerHTML and the user has submitted something like <code>&lt;img src='link'&gt;</code> it doesn't appear the string but the real image...
  I hope I explained
  Thank you!</p>