Turn HTML into a DocumentFragment