refractioning of markup (html)