I created a DOM fragment using JQuery:

```
var $content = $("<div /", {id:"content"})

```

I want to output the fragment as a string, so I attempted:

```
$content.html();

```

That returns an empty string, because there are no children. How can I return a string containing:

```
<div id="content" />

```