How html5 typesets according to ps pictures

The method is:

1, open the picture, copy the layer, close the background layer, and erase the background with the "magic eraser tool";

2. "File-Save as web Format-Save" and "Save Optimization Result as-HTML Only" and save them;

3. Open "My Pictures", find the HTML file just saved, and finish.