title: HTML gets generated with trailing </param> tags
body: <p>I am trying to pass some parameters to an object in one of my webpages.  Here is the source HTML:</p>
  
  <pre><code>&lt;object id="Meter" data="data:application/x-silverlight-2,"type="application/x-silverlight-2"
      draggable="false" style="width:100%; height:100%; display:inline"&gt;
  &lt;param id="xapSource" runat="server" name="source" value="ClientBin/SmartSwitch_V13.xap" /&gt;
  &lt;param name="onError" value="onSilverlightError" /&gt;
  &lt;param name="background" value="" /&gt;
  &lt;param name="minRuntimeVersion" value="5.0.61118.0" /&gt;
  &lt;param name="autoUpgrade" value="true" /&gt;
  &lt;param id="initParams" runat="server" name="initparams" value="" /&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>When I build the website and run it in IE 11.0, and view the source, it appears thus:</p>
  
  <pre><code>&lt;object id="Meter" data="data:application/x-silverlight-2," type="application/x-silverlight-2"
              draggable="false" style="width:100%; height:100%; display:inline"&gt;
  &lt;param id="ctl00_MainContent_xapSource" name="source" value="ClientBin/SmartSwitch_V13.xap"&gt;&lt;/param&gt;
  &lt;param name="onError" value="onSilverlightError" /&gt;
  &lt;param name="background" value="" /&gt;
  &lt;param name="minRuntimeVersion" value="5.0.61118.0" /&gt;
  &lt;param name="autoUpgrade" value="true" /&gt;
  &lt;param id="initParams" name="initparams" value="key1=BOB"&gt;&lt;/param&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>Note how IE 11.0 has added on two &lt; /param > terminating tags to two of the elements ... I can only assume because both had an 'id=' attribute (is this assumption right or wrong?).  But even though there is no HTML reference that I can find that says terminating &lt; /param > tags are legitimate or valid, IE 11.0 still processes the webpage without error.  Well, thanks for that small mercy, IE 11 ....</p>
  
  <p>However, when I try and run the same webpage using Firefox, it refuses to load the webpage and highlights the two tags in red with the message 'Stray end tag /param'.  So I can only assume that Firefox won't load this page until the HTML is perfect for it, i.e. these two tags don't appear.</p>
  
  <p>But my original webpage source does not have them in, so I can only assume they are being generated.  So my question is: how can I change my HTML source so two tags DON'T get generated and the HTML appears perfect for Firefox to load my webpage?</p>