asFragment
fn
auto asFragment(string s)Create a fragment from a string. The fragment is not attached to any document by default. The fragment is not a valid element or document, it's just a piece of html you can add to a document.
auto fragment = "<b>hello</b>".asFragment;
doc.body.appendChild(fragment);