Add html related functions.