What would be the best way to parse html into elements?