changing datatype to html