This document serves as the standard and best practice’s adopted for XHTML
coding. It also establishes minimum coding standards to prepare for XHTML
1.1 validation. It is intended to be a living document. The standards are
divided up according to functional category.
This document is intended for Website developers in the Information Systems
Department and interfacing agencies. It outlines the guidelines that shall
be followed when performing site development of new pages and maintenaince
of existing pages.
| Guideline |
Example |
Rationale |
|
Website Top Level Directory names: Use only
lowercase letters or numbers. Do not add any spaces or underscores.
Always start with a letter.
|
Directory name: landdevelopment |
Standardization for consistency in maintaining correct
directory names in case sensitive environments. Underscores in directory
names, when printed in MS Word or emails, etc., gets lost with the
link underline and looks like a space instead.
|
|
File names: Use only lowercase letters or numbers. Do not add spaces or underscores.
Always start with a letter. Use the three letter .htm extension only.
Do not use the .html extension.
|
File name: thedeptpicnictour.htm |
Standardization for consistency in maintaining correct
filenames in case sensitive environments. Prepares for XHTML compatibility.
|
| Tag names: Use all lowercase HTML tags.
Ensure all tags have an ending tag or slash to denote start/end tag.
|
<head></head>
<br />
|
Standardization for consistency between files. Prepares
for XHTML compatibillity. |
| Attributes: All tag attributes shall
have arguments. All arguments shall be in double quotes. |
<img src="tree.gif" height="5" width="7" alt="A
tree." /> |
Standardization for consistency between files. Prepares
for XHTML compatibility. |
| Date |
Revision |
| 02/26/2003 |
Revised file name example for consistency. |
| 01/24/2003 |
Revised content to incorporate XHTML1.1 compatiblity.
Added directory naming convention for top level Website directories.
|
| 01/29/2001 |
Added usage of ".htm" filename extension. Added "Attributes"
description to table. Added comments relating to XHTML compatibility.
|
| 8/17/2000 |
Incorporated comments.
|
| 8/14/2000 |
Initial Release. Earl Chassee. |