JSFiddle - React, Tailwind, and code Playground
by alanhogan
HTML
<p style=`color: red; font-weight: bold;`>Test with backticks</p>
<p style='color: darkgreen; font-weight: bold;'>Test with single quotes</p>
<p style="color: navy; font-weight: bold;">Test with double quotes</p>
<p style=“color: orange; font-weight: bold;”>Test with educated (smart or typographer’s) quotes</p>
JavaScript
// Is the backtick (`) a valid HTML attribute value delimeter? (No)
// Where do backticks work?:
// ✓ YES in IE6 (tested on XP)
// ✓ YES in IE7 (tested on XP)
// ✓ YES in IE8 (tested on XP)
// ✓ YES in IE9 (tested on Win 7)
// ✗ NOT in IE10 (tested on Win 7)
// ✗ NOT in WebKit or Chromium browsers
// ✗ NOT in Firefox