add functionality for accepting html data values