Set maxlength constraint on the html files