Modify html code and update style