While there are many web-making tools now that make it easy for you to get your job done, you can get more control if you use HTML, here are a few tips.
1. Using <tt>, <i>, <br> statements to control text layout is much better than using <pre>. For example: <tt>Practical Network<br><i>Zeng Weibin</i><br></tt>
2. Do not use 800*600 resolution to create web pages. When viewers use 640*480 to view web pages, it will slow down the speed and cause misalignment of the web page images and text. Of course, you can also use frames, horizontal controls, tables and other identification statements to replace the pixels you set, but the workload increases.
3. There is only one line when using <br><p>, and using <p><br> will add a blank line.
4. Only by using hexadecimal numbers to define the color of a web page, instead of using red, black and other statements, can we make full use of the 216 colors of the web palette (the other 40 types are difficult for ordinary people to distinguish).
5. Adding <base target=_top> to <head> can prevent your web page from shrinking when the frame is linked elsewhere, or use <a target=_newhref=http://. . . >/a>
Opens a new window.
6. Using <div> to press the table can allow many browsers to see the effect of centering the table. If you are using Netscape 4.0, you can also add align=center to replace it.
7. The four special characters (<,>, &,) in HMTL cannot be written directly in the file. They must be replaced by the following statement. <=< >=> &=& = (English letters must be lowercase)
8. Some semantic format font effects, title italics <code>, display the wide-font characters of the source program, emphasize italics <kbd>, wide-font characters required to enter the keyboard, wide-font characters indicated by status, bold characters for emphasis, and italics for constructing variables