title: HTML validation with EJS templates as "text/template" elements
body: <p>What's the latest thinking on HTML validation when using a framework like Backbone or Meteor and constructing views in the client from EJS templates?</p>
  
  <p>The problem seems to be that <code>name</code> is not an official attribute for a <code>&lt;script&gt;</code> tag. </p>
  
  <p>My code looks like:</p>
  
  <pre><code>&lt;div id="templates"&gt;
  &lt;script name="template_name" type="text/template"&gt;
    &lt;p class="summary"&gt;
      &lt;img src="&lt;%= this.model.image() %&gt;"/&gt;
      &lt;br/&gt;
      &lt;%= this.model.summary() %&gt;
    &lt;/p&gt;
    &lt;div&gt;
      &lt;%= this.model.content() %&gt;
    &lt;/div&gt;
  &lt;/script&gt;
  &lt;!-- etc... --&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The validation error is</p>
  
  <pre><code>Attribute name not allowed on element script at this point.
  &lt;script name='hover_grid' type='text/template'&gt;
  Attributes for element script:
  Global attributes
  src
  async
  defer
  type
  charset
  </code></pre>
  
  <p>Do I wait for this to be supported and defend this approach or is there a way to make this markup valid?</p>