Home > Article > Web Front-end > How to combine html with ps
How to combine html with ps?
Open the ps software and select the picture you want to convert into an html static page!
For example, open the Baidu experience page and save it as a picture; see clearly that the picture is a jpg; use ps to open the picture, as shown in the picture;
Let’s start the operation; HTML static web pages are generally composed of pictures, text and effects. Here we mainly teach you to use PS to generate HTML static pages, which is to convert pictures into static page; because the webpage will not cut the picture too large to ensure the Internet speed, so here I will cut the picture according to the normal picture;
Select "Slicing Tool" on the homepage, if there is no tool, right-click on it Click the arrow in the lower right corner of the side and select the slicing tool;
After selecting the tool, you can start cutting the picture. Cutting is to cut a large picture into small pictures. Remember Be sure to make sure that the small pictures are the same as the original pictures. This requires that the lines should be aligned when cutting the pictures, otherwise they will look misaligned; I will first cut the picture into several long strips;
After cutting the picture, here is the moment to witness the miracle. Right-click on the menu bar "File - Select Save for web and device use"; the "Storage Page" pops up; click "Save";
#The next step is the key point. Remember not to save directly; click "Format" below and select "html and images"; then Save;
After saving, two folders, image file and html page, will be generated, and then you click on the html page;
After you open it, you will find that it is the same as the picture, and it is a static page in code format;
Congratulations, At this point you have learned how to make a simple static page!
The above is the detailed content of How to combine html with ps. For more information, please follow other related articles on the PHP Chinese website!