<- Description: The skills mentioned here are mainly reduced to the size of the file, and the speed of the browser processing page must be improved to some extent, some do not meet the standard write, such as Option is too much, therefore is not included - >
1. Try not to write HTML pages in Word as much as possible
2. Dreamweaver automatically optimizes HTML code, of course, does not be perfect
3. Remove can have no content, including: .a Delete extra spaces. B Remove empty statements (such as b> .c delete the assignment of the default attribute (align = left, valign = middle, size = 3, Target = _Self) .D is not limited to use indentation
4. Use the self-built attribute as a comment: The browser does not handle non-standard properties, so you can use this point to add a comment such as
5. Use a
6. Use
7. Use the
statement to restore the line spacing of the small font number in the back of a paragraph, add a
, so that the line spacing between the last two lines can be restored.
8. Replace the web page effect with the phrase " -> -> ->
9. Color property is recommended to use English words, special characters recommended in English word coding
10. Simultaneous use of high, low resolution images: (netscape) using split image technology, making browser
11. Use the Interlaced mode when saving GIF images, making images an explicit
12. Unpack a large form into multiple small forms, can be explicitly explicitly explicitly explicitly explicitly selected, avoiding browsers to wait for all table data downloads
13. Sometimes you can use
and
instead of the form:name: email: ... pre>14. Priority use 100% width table, accelerate browser explicit
15. Place the align = center / right attribute, Valign = Bottom / TOP attribute into the
statement 16. Several useful Header properties:
17. Use
to convert absolute URLs into relative URLs, can be placed in Header, valid for all links 18. Use history.back () to speed up the back speed