only test size of HTML, and add from to values to replace