title: Escaping double quotes in CSS selector
body: <p>I have a html tag, </p>
  
  <pre><code>&lt;div style="background-image: url("resources/images/test.jpg");"/&gt;
  </code></pre>
  
  <p>I want to target this element using CSS selector. I tried below selector but its throwing error,</p>
  
  <pre><code>document.querySelector('*[style*="background-image: url("resources/images/test.jpg")"]')
  
  Error: DOM Exception: SYNTAX_ERR (12)
  </code></pre>
  
  <p>I somehow have to escape double quotes around "resources/images/test.jpg". Please let me know if there is anyway I can escape it and target the tag.</p>