markup rearranged in accordance with w3c