[Logo: Homes and Communities: U.S. Department of Housing and Urban Development] Library
[Vea la versión en español de esta página] [Contact Us] [Display the text version of this page] [Search/Index]
 
HUD news

Homes

Resources
 - Library
 - - 1: Most requested pages
 - - 2: Freedom of Information Act (FOIA) reading room
 - - 3: Research
 - - 4: Housing
 - - 5: Public, assisted, and Native American housing
 - - 6: Homeless
 - - 7: Cities/ communities
 - - 8: Fair housing
 - - 9: Funding
 - - 10: Legal information
 - - 11: Web management
 - - 12: HUD archives
 - - 13: Professional organizations
 - - 14: Good Stories Collection
Handbooks/ forms
Common questions
Library

Communities

Working with HUD

Tools
Webcasts
Mailing lists
RSS Feeds
Help

[The U.S. government's official web portal]  

HUD Web Publication Standards and Style Guide

- -
 Information by State
 Print version
 

Section 5: Rules About Files

A. HTML Coding: HUD's templates are designed 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.

B. 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 that kind of technology qualifies the page(s) as an application, which is subject to the HUD application development and release process.

C. File Names: All web page files should have short, meaningful names.

  1. Long titles should be abbreviated. For example, the "local homeless assistance agencies" web page has a file name of hmlsagens.cfm.
  2. Known acronyms can be utilized in the name.
  3. When selecting a name, consider how the name may be perceived. People do look at URLs and may misinterpret the meaning or intent of a file name.
  4. All file and folder names should be alphanumeric.
  5. Spaces cannot be used in a name, and you should not use underscores or hyphens.

D. Case: Web page file names are case sensitive. When you are entering a web page address in a browser, you must enter the address in the correct case (lower case, upper case or a combination). To avoid any confusion or problems, all file names and folder names on HUD's Internet and intranet sites are in lower case.

Do use: morereleases.cfm
Don't use: MoreReleases.CFM

E. File Name Extensions:

  • Internet: All new web pages created with Dreamweaver must have an extension of .cfm. Any existing web pages that are not yet converted (mainly older program and support office pages) have an extension of .html.

    Do use: index.cfm
    Don't use: index.html

  • Intranet: All web pages created in the hud@work template rolled out May 1, 2005 must have a .cfm extension.

F. Folder Names: Use clear and concise names to label the folders in which the web page files are stored.

Do use: volunteering
Don't use: federalvolunteerprograms


G. Naming Your First Page: The first page or "front page" of your section should be named "index.cfm." (both Internet and intranet).

H. Application Files (Internet Only): A system file named application.cfm already exists in the various folders holding the HUD offices' web page files. This system file contains information that enables the web pages for an office to render and function properly. Therefore, you must not name a web page file "application.cfm." You must not move, modify or delete the existing application.cfm system file.

I. File Types:

  1. Internet:
    • HUD strives to make its website accessible to the broadest possible audience; thus, only common web formats should be used on HUD's Internet website. Acceptable formats for the Internet site include .jpg, .gif, .pdf, and .txt.

    • When communicating and sharing files with business partners, the .doc, .xls, .zip, and .exe formats also are acceptable; however, add a link to the free reader, where available.

  2. Intranet: For hud@work, any file type specified for the Internet or any file types supported by standard HUD desktop software are acceptable.

  3. Powerpoint: In general, you should not be posting Powerpoint files. You may consider using a Powerpoint if you want to allow the audience to download it and use it for their own presentations. But even then, consider your audience carefully. Powerpoint files have a number of issues: it is very difficult to ensure that they are accessible, they use proprietary software, and they tend to be very large files for downloading.
    The accessibility issues are compelling. The free Powerpoint reader is not accessible, so if the visitor does not have Powerpoint software on his/her computer, he/she will not be able to use the file. If you do post Powerpoint files, you must make them compliant with 508 requirements. That means they must have alt tags on every page, providing both the text and description of the images.
    Another factor to consider is that Powerpoint presentations normally are used with a presenter in the room to explain the bullets and charts. When people look at a Powerpoint presentation on the web, they don't have the benefit of that live person to give them the context and meaning of the bullets on the presentation.

  4. If you want to use a file type that is not specified here, contact the Departmental Web Team before using it.

J. Audio And Video Files: HUD's standard media format for audio and video files is Real Media. In some cases, audio files that are 30 seconds or less may use .wav files. HUD's media files are "streamed" from dedicated media servers – not downloaded from the Internet or intranet web servers themselves. Contact HUD's Departmental Web Team if you need to publish rich media to the Internet or intranet.

K. Virus Protection: All executable files (for example, .exe, .bat or .com extensions) must be scanned for viruses using the most recent version of HUD-standard virus-scanning software before being posted to the website.

L. File Size: To keep HUD's websites as accessible as possible, we try to limit the size of each page.

  1. Internet: The total size of a web page on HUD's Internet site - including the basic template plus all graphics, pictures, and text - should not exceed 100Kb. The Dreamweaver templates have a base size of approximately 20Kb before any content is added to them, so be sure to factor that number into the total page weight.
  2. Intranet: For intranet pages, do not exceed a total page weight - including images, scripts, linked and included files, and dynamic content - of 200 Kbytes.

K. Redirects: When you need to convert an old web page file (from .html to .cfm), move an existing web page file to another address, or delete a file, you may be creating a broken link in the website.

To develop a redirect:

  • Check the web map posted in the "Web Management" section on hud@work to find any web pages that link to the page you are about to move or delete.
  • Notify the appropriate Web Managers so they can change their links.
  • Create the redirect page. As a safeguard against potentially broken links, a copy of the web page file that you need to convert, move or delete remains in production in its current location. However, the code of the file is replaced with a forward script that redirects the user to the new web page (when converting), the new location (when moving) or another web page (when deleting). By creating these redirects with the forward script, you send the users to the appropriate page/location and provide them the opportunity to update their respective bookmarks and links.
  • As a rule, a redirect page should be deleted when it's been up 6 months.

L. Aliases: Aliases - shortened URLS - can be very useful when you want to market a particular page on the website or if you find that HUD staff frequently are directing customers to a certain page. For example:

http://www.hud.gov/library/bookshelf11/webclinics/

also can be reached by going to this alias:

http://www.hud.gov/webclinics

The alias is shorter, punchier, and easier to remember.

To establish an alias for a specific web page, the Web Manager must email a request to the Departmental Web Manager for Headquarters Operations, including the following:

  • Current URL of the page
  • Proposed alias URL
  • Date alias is required
  • Date alias can expire (if appropriate)

The Departmental Web Team may reserve certain aliases for Secretary, Deputy Secretary, or Public Affairs initiatives.

Follow this link to  Previous    Follow this link to  Introduction    Follow this link to  Next   
 
Content current as of 10 June 2005   Follow this link to go  Back to top   
----------
FOIA Privacy Web Policies and Important Links  Home [logo: Fair Housing and Equal Opportunity]
[Logo: HUD seal] U.S. Department of Housing and Urban Development
451 7th Street S.W., Washington, DC 20410
Telephone: (202) 708-1112   TTY: (202) 708-1455
Find the address of a HUD office near you