title: Replace Node Name
body: <p>Is it possible to replace a nodes name? Like:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;strong id="element"&gt;Text&lt;/strong&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>var element = document.getElementById("element");
      element.nodeName = "b";
  </code></pre>
  
  <p>As I see it's not working, if it's not possible in this way, then how can it be done?</p>
  
  <p><strong>Why I need it:</strong></p>
  
  <p>I'm building a Text Editor, and IE uses strong instead of b in the execCommand() function and I would like to change that, I tried to build the execCommand("bold") from scratch but there is a lots of problem and differences even between IE 8 and 9. So now I decided to change it's node name, it would be really easy, but doesn't works.. :(</p>
  
  <p><strong>Note:</strong> I need this to work only in Internet Explorer.</p>
  
  <p>Thanks</p>