the function of save html is in the C file