title: How to convert an HTML element to a string, including the opening and closing tags?
body: <p>Suppose I have the following HTML element:</p>
  
  <pre><code>&lt;span id='kuku' class='lala bubu' value='xyz'&gt;some text&lt;/span&gt;
  </code></pre>
  
  <p>I know that <code>.html()</code> returns the inner part of the element, i.e. <code>some text</code>.</p>
  
  <p>How could I get the whole element as string, containing <code>&lt;span&gt;...&lt;/span&gt;</code>?</p>