html version of matrix