title: What are modern uses of script type="text/html" and is this example considered good use?
body: <p>Is something like...</p>
  
  <pre><code>&lt;script type="text/html" id="this-content1"&gt;
  &lt;h1&gt;This Header Info One&lt;/h1&gt;
  &lt;p&gt;This content one. . .&lt;/p&gt;
  &lt;/script&gt;
  &lt;script type="text/html" id="this-content2"&gt;
  &lt;h1&gt;This Header Info Two&lt;/h1&gt;
  &lt;p&gt;This content two. . .&lt;/p&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>...and using jQuery to swap out the content based on a selector good practice in today's standards?</p>
  
  <p>I am just getting into the use of <strong>script type="text/html"...</strong> to allow dynamic changes of my content and am finding many ways to do this. Is there a source that might explain the direction this is going and if any standardizing of this practice.</p>
  
  <p>I see code like...</p>
  
  <pre><code>&lt;div class="thumbnail"&gt;
              &lt;# if ( data.uploading ) { #&gt;
                  &lt;div class="media-progress-bar"&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
              &lt;# } else if ( 'image' === data.type ) { #&gt;
                  &lt;img src="{{ data.size.url }}" draggable="false" /&gt;
              &lt;# } else { #&gt;
                  &lt;img src="{{ data.icon }}" class="icon" draggable="false" /&gt;
              &lt;# } #&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>...nested in a script type="text/html" tag and really have no idea why it is written this way. Also have just wet my beak in backbone and this looks to be a little heavy if just looking to add content swapping in one page.</p>