title: Purpose of the crossorigin attribute...?
body: <p>In both image and script tags.</p>
  
  <p>My understanding was that you can access both scripts and images on other domains. So when does one use this attribute?</p>
  
  <p>Is this when you want to restrict the ability of others to access your scripts and image?</p>
  
  <p>Images:</p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-crossorigin" rel="noreferrer">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-crossorigin</a></p>
  
  <p>Scripts:</p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script" rel="noreferrer">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script</a></p>