rules
There is only a small number of rules when it comes to producing your webpages:
- Keep your file sizes as small as possible to permit a rapid download over even a slow connection. Graphics will increase the overall file size. So will lots of unecessary tags.
- Use tags only for what they are intended
- Write tags only in lowercase
- Enclose all attributes in double quotes
- Close all tags
Even the <br> tag can be closed by writing it as <br /> - Your html must be well formed.
You can check for this by using the validator at www.w3c.org
You can also find other validators on the Internet, and on CDs of magazines. Some html editors also have validators built into them.
Following these rules will make your web pages somewhat future proof, and more easily upgradeable, particularly when you advance to using XML.
