create html widget