The following were some guidelines for North Bend residents (Committee and Board members, in particular) to create pages for the NBTHA website. Since the NBTHA Board decided in 2012 to remove the former native HTML/CSS-based website and replace it with something else, the following no longer applies to nbtha.org, but the general rules are still good for building HTML/CSS web pages for other sites.
The associated notes discuss how to edit source files and how to view the source code of existing pages to see how others have coded their pages.
Not everyone has Word, WordPad, or Excel to display .doc and .xls files. In fact, if they have older versions of those programs, the older versions may not properly handle the .doc or .xls files created by the current versions. In any event, HTML files are considerably smaller than corresponding .doc and .xls files and will download more quickly.
Some programs have problems with file names containing spaces or special symbols.
Case is important for many internet servers, e.g., those based on Linux. If you name a file "MyFile.htm" and then try to access it as "myfile.htm" with a link or even from a browser, the file will not be found on such servers. You (and anyone else accessing the file) must use exactly the same case for each letter when accessing the file as you used to create the file originally.
Minimizing the number of graphics files simplifies maintenance of the website.
Avoid large graphics files on your main page because they download very slowly over phone lines. Instead, link to a large graphics file by using a small graphics file link (a thumbnail) or just use a text link. This lets users have the option of not downloading large files unless they explicitly choose to do so. Warn the user if clicking on a link will start a large (possibly long) download.
The HOME button provides a quick and consistent way for users to return to the website's home page, no matter where they are in the site. You can copy this code from the end of the source code for http://jgkhome.name/HTML_CSS/$$$skeleton.htm, for example. It is the six lines starting with the "div" id="button" tag and ending with the final "/div" tag.
If the page will be printed, include the media="print" style section containing a div#button {display: none;} rule and put the HOME button division within a div id="button" division to suppress printing the button. See the source code for http://jgkhome.name/HTML_CSS/$$$skeleton.htm.
Using a relative URL instead of an absolute URL lets the website files be tested more easily outside of the normal website location. A relative URL might be "../../abcde.htm"; whereas the corresponding absolute URL might be "http://my.website.com/finance/history/abcde.htm". Each "../" means "go up one level in the directory tree". Thus the explicit directory names of the higher level directories and the specific disk drive on which the tree resides do not have to be stated in the URL. This allows the whole set of website files to be moved from one place to another without affecting the operation of the internal links within the tree. For example, you can put your whole website on a USB drive and run it on any PC.
Of course check for errors in spelling and grammar.