Bottom | HTML Rules | CSS Rules
HTML Code Rules
The following HTML coding rules have been used to construct the pages of this site.
- All attribute values have quotes around them;
- All attribute values are in lower case;
- All tags are in uppercase ;
- All site directory and filenames are in lower case;
- The site is broken into logical sub-directories;
- Every directory has a default index.htm file;
- All comments do not contain -- or >;
- URL references to pages within this site are relative;
- URL references to different sites are absolute;
- Main pages within sub-directories are called index.htm so they can be referenced by just the directory name and a trailing /;
- No Frames are used;
- All pages have a meaningful <TITLE> and <H1> tags to aid search engine indexing;
- All pages have meaningful <META NAME="description"> and <META NAME="keywords"> content to aid search engine indexing;
- All images have meaningful ALT text to aid search engine indexing;
- All images have meaningful ALT text to aid readability in text only browsers;
- All entity and attribute names are in upper case;
- Page layout is not screen size dependant;
- Linked images have no border;
- Links to other pages within this site or externally just go there. Opening additional browser windows with the TARGET attribute is not used;
- The HTML code is commented;
- Useless characters and tags are removed;
- The HEAD section of the page contains a LINK tag for emailing the author;
- Tables do not have hard coded pixel widths;
- Tables do have percentages as widths to influence the page layout;
- Tables are not used to layout entire pages;
- Tables have summary information to describe their purpose;
- Tables use <COLGROUP>, <THEAD>, <TFOOT>, and <TBODY>;
Cascading Style Sheet Rules
The following CSS rules have been used to construct this site.
- External Cascading Style Sheets are used, linked to the individual pages;
- Classes of style are defined for different parts of the pages, to give a consistent and easilt modifiable look and feel to the site;
- One single cascading style sheet is used for all pages on the site;
- No more than three fonts are used, one for headings, one for body text and one for special text like computer code;
- Alternate fonts are listed for classes of text, always in the same order;
- Absolute font sizes are not used;
- The !important attribute is not used;
Top | HTML Rules | CSS Rules