Html String Javascript. parseFromString(string_of_html, 'text/html'); That will give