title: How does html5-script-attribute "data-main" work?
body: <p>For example requireJS uses following syntax:</p>
  
  <pre><code>&lt;script data-main="scripts/main" src="scripts/require.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and in its documentation you can read:</p>
  
  <blockquote>
    <p>data-main attribute tells require.js to load scripts/main.js after
    require.js loads</p>
  </blockquote>
  
  <ol>
  <li>How is that (script load-order) possible?</li>
  <li>If the name of the js-file was nomain.js, would the data-attribute be "data-nomain" ?</li>
  <li>I see no information about that in the html5 specification or am I looking at wrong place?</li>
  </ol>
  
  <p>thank you</p>