title: Explanation of <script type = "text/template"> ... </script>
body: <p>I just stumbled upon something I've never seen before. In the source of Backbone.js's example TODO application (<a href="http://documentcloud.github.com/backbone/examples/todos/index.html" rel="noreferrer">Backbone TODO Example</a>) they had their templates inside a <code>&lt;script type = "text/template"&gt;&lt;/script&gt;</code>, which contained code that looks like something out of PHP but with JavaScript tags.</p>
  
  <p>Can someone explain this to me? Is this legit?</p>