title: How do I query HTML tag values in Cypress?
body: <pre><code>&lt;g class="ABC" transform="translate(786.9,53)" score="1.3"&gt;
  </code></pre>
  
  <p>How can I query the score value of this example HTML tag?</p>
  
  <p>I am writing a test to query the score attribute (it is <em>1.3</em> in the above example) and compare it with the correct number in my test. </p>
  
  <p>I am not sure how to get the score attributes value. <code>cy.get()</code> didn't give me what I need.</p>
  
  <p>Thanks.</p>