Home.Publication Procedures and Style Guide.Websites.Visual Design.Templates

Blue Banner

Templates

Guidelines

Organize documents so that they are readable without requiring an associated style sheet. Refer to Appendix D: Layout and Navigation to view the TTB.gov style sheet.

Style sheets may be used for color, indentation, and other presentation effects, but a Web page should be understandable (even if less visually appealing) when the style sheet is turned off. To ensure the page is readable when the style sheet is off, place page text in a logical order within the HTML code so that when the style sheet is not available, the user can still read the text in the same order that it is visually presented in the styled version.

TTB uses a standard template for all Web pages on both TTB.gov and TTB's intranet. All TTB Web pages must follow the standard TTB templates. The templates do a number of things for the Bureau:

  1. They are an easy way to make sure site navigation is consistent and structured for ease of comprehension.
  2. They enable the Bureau to ensure that all Web pages meet accessibility, privacy, and other requirements.
  3. When the Web Team needs to make changes to the templates, it is easy to update all pages quickly and uniformly.

Read more about using consistent navigation and templates on WebContent.gov.

HTML Coding

TTB designs templates to handle a wide range of Web page design requirements. In rare cases, you may need to work with the HTML code of a Web page in order to display the content cleanly and correctly. If you work with the HTML code, the page must continue to meet all standards and requirements in this document, with particular emphasis on the accessibility (Section 508) requirements.

JAVA and JavaScript

If JAVA and JavaScript are used, the page must remain Section 508 compliant and work across all platforms and Web browsers. In addition, the Web page must be coded in such a way that it will still function even if a visitor has disabled JAVA and JavaScript on the Web browser. Do not use any scripting or tagging technologies–client- or server-side–other than those provided in HTML and by the standard templates. Using anything other than those provided in HTML and by the standard templates will qualify the page(s) as an application, which is subject to the TTB application development and release process.

 

Page last reviewed/updated: 04/08/2014