Search Our Site:    Advanced Search
BCC Home > Web Design Standards > XHTML Coding Standards

XHTML 1.1 Coding Standards

Scope

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.

Intended Audience

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.

Naming Conventions

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.

Change Record

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.
Privacy Policy Adobe Reader download icon Adobe Reader | Flash Player download icon Flash Player | Using Our Site

Contact the Webmaster about this website's content, services or technical issues.

Under Florida law, email addresses are public records. If you do not want your email address released in response to a
public-records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing.

Brevard County seal The Official Site of Brevard County, Florida

Information Systems Dept., Bldg. GC-206
2725 Judge Fran Jamieson Way
Viera, Fl 32940
Tel: (321) 617-7395