Site Construction Rules

This is a page detailing the rules used to construct this site from HTML 4 and Cascading Style Sheets.

Contents
Home
About...
Rules
Our House
Our Pages
Our Motor Home
Links
Site Map
Index

HTML Code Rules

The following HTML coding rules have been used to construct the pages of this site.

  1. All attribute values have quotes around them;
  2. All attribute values are in lower case;
  3. All tags are in uppercase ;
  4. All site directory and filenames are in lower case;
  5. The site is broken into logical sub-directories;
  6. Every directory has a default index.htm file;
  7. All comments do not contain -- or >;
  8. URL references to pages within this site are relative;
  9. URL references to different sites are absolute;
  10. Main pages within sub-directories are called index.htm so they can be referenced by just the directory name and a trailing /;
  11. No Frames are used;
  12. All pages have a meaningful <TITLE> and <H1> tags to aid search engine indexing;
  13. All pages have meaningful <META NAME="description"> and <META NAME="keywords"> content to aid search engine indexing;
  14. All images have meaningful ALT text to aid search engine indexing;
  15. All images have meaningful ALT text to aid readability in text only browsers;
  16. All entity and attribute names are in upper case;
  17. Page layout is not screen size dependant;
  18. Linked images have no border;
  19. Links to other pages within this site or externally just go there. Opening additional browser windows with the TARGET attribute is not used;
  20. The HTML code is commented;
  21. Useless characters and tags are removed;
  22. The HEAD section of the page contains a LINK tag for emailing the author;
  23. Tables do not have hard coded pixel widths;
  24. Tables do have percentages as widths to influence the page layout;
  25. Tables are not used to layout entire pages;
  26. Tables have summary information to describe their purpose;
  27. Tables use <COLGROUP>, <THEAD>, <TFOOT>, and <TBODY>;

Cascading Style Sheet Rules

The following CSS rules have been used to construct this site.

  1. External Cascading Style Sheets are used, linked to the individual pages;
  2. Classes of style are defined for different parts of the pages, to give a consistent and easilt modifiable look and feel to the site;
  3. One single cascading style sheet is used for all pages on the site;
  4. No more than three fonts are used, one for headings, one for body text and one for special text like computer code;
  5. Alternate fonts are listed for classes of text, always in the same order;
  6. Absolute font sizes are not used;
  7. The !important attribute is not used;