fit and add information for html code