You may not know that you can also use Photoshop to create a simple xhtml+css web page. Let’s try it together!
1. Open the designed website visual design draft in photoshop cs2. Cut with a slicing tool.
2. Click "File-" Save as web format", the shortcut key is ctrl+alt+shift+s, click the small picture of the inverted triangle on the upper right, and select Edit output settings.
3. As shown in the picture, select Slices in the second drop-down, select Generate CSS, and then select By ID in the subsequent drop-down.
4. Click OK to save and close the settings window. Click the Save button in the Save for Web window. Select Html and Images in the save type. Enter a file name and click Save.
5. Complete the task. Take a look at the code. Is it xhtml+css?
Didn't you expect that? It’s so easy to create an xhtml+css page. Of course, in actual applications, this kind of automatically generated page is still not very standardized. It is recommended that you still use Dreamweaver 8 or Editplus to adjust the code.