title: How does HTML tags work inside script tag?
body: <p>For example, view-source at <a href="http://careers.stackoverflow.com/spolsky">Joel Spolsky's public career profile</a> </p>
  
  <pre><code>&lt;script type="text/html" id="stackexchangeanswerswidget"&gt;
      &lt;h3&gt;Top Answers&lt;/h3&gt;
  
      &lt;div class="answers"&gt;
      &lt;/div&gt;
  
  &lt;/script&gt;
  
  &lt;script type="text/html" id="topanswer"&gt;
      &lt;div class="top-answer"&gt;
          &lt;div class="top-answer-stats"&gt;{{= shared.htmlEncode(Score) }}&lt;/div&gt;
          &lt;span class="top-answer-title"&gt;&lt;a href="{{=AnswerLink}}"&gt;{{= shared.htmlEncode(Title) }}&lt;/a&gt;&lt;/span&gt;
          &lt;a class="add-answer"&gt;add&lt;/a&gt;
          &lt;br class="clear" /&gt;
      &lt;/div&gt;
  &lt;/script&gt;
  
  &lt;script type="text/html" id="answer-view"&gt;
      &lt;div class="answer"&gt;
          &lt;div class="answer-stats {{= shared.htmlEncode(Site.toLowerCase().replace(/ /g, '')) }}"&gt;
              &lt;div class="score"&gt;
                  &lt;strong&gt;{{= shared.htmlEncode(Score) }}&lt;/strong&gt;
                  &lt;div class="votecount"&gt;votes&lt;/div&gt;
              &lt;/div&gt;
              &lt;img class="answer-logo" src="{{= shared.htmlEncode(FaviconUrl) }}" /&gt;
          &lt;/div&gt;
          &lt;div class="answer-content"&gt;
              &lt;span class="q"&gt;Q:&lt;/span&gt;
  
              &lt;div class="answer-top"&gt;
  
                  &lt;a class="answer-title" href="{{= shared.htmlEncode(AnswerLink) }}"&gt;{{= shared.htmlEncode(Title) }}&lt;/a&gt;&lt;br /&gt;
              &lt;/div&gt;
  
              &lt;span class="a"&gt;A:&lt;/span&gt;&lt;div class="answer-body"&gt;{{= Body }}&lt;/div&gt;
  
              &lt;div class="more-button" style="text-align:center; clear:both; display:none;"&gt;&lt;a class="more"&gt;More&lt;/a&gt;&lt;/div&gt;
  
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>How does HTML tags work inside script tag? and/or What kind of technology used for those html tags, and template alike codes <code>{{= .... }}</code> inside script tags?</p>