manage html widget