function createElementFromString(html) {
    const div = document.createElement('div');
    div.innerHTML = html.trim();
    return div.firstElementChild;
}
Creates an DOM-Element out of a string (Single element).
@param html HTML representing a single element
@returns {Element | null} The element.