title: What is the correct syntax here?
body: <p>I'm just wondering which of these is correct syntax wise?</p>
  
  <pre><code>&lt;input type = "button" onclick = alert("Hi")&gt;
  
  &lt;input type = "button" onclick = "alert(‘Hi’)"&gt; //this one?
  </code></pre>
  
  <p>I feel like I've read both formats somewhere, and I'm just wondering which is actually correct?
  Thanks!</p>