| Files Standards
- The default page for any directory should be named "index.asp",
"index.cfm", "index.htm", "default.asp"
"default.cfm" or "default.htm".
- References to files, anchors, and images residing on all Headquarters IHS Internet or
Intranet servers shall be relative, not absolute Uniform Resource Locators (URLs), to make
documents and sites portable.
Example 1:
| To address a file in the document that is: |
<A HREF= |
| in the same directory or folder |
"*.asp"> |
| down one level |
"(directory name)/*.asp"> |
| up one level |
" ../*.asp"> |
| up two levels |
" ../../*.asp"> |
| in a sibling directory |
"../(SibDirName)/*.asp"> |
Note that " * " refers to the filename. The directory or folder names are
separated by forward slashes, and two dots are used to refer generically to the directory
above the current one.
Example 2:
A link from the file "index.asp" to the file "coding.asp", when
both files reside on the server www.ihs.gov in the directory "/general/web",
should be expressed as
<A HREF="coding.asp">
not as
<A
HREF="http://www.ihs.gov/general/web/coding.asp">
- In linking to remote pages, i.e., pages on the web somewhere on another system, use
absolute URL pathnames.
Example: http://www.hhs.gov/progorg/oirm/bestguid.html is the
absolute URL address for the Department of Health and Human Services World Wide Web
Applications and the Internet Best Practices and Guidelines.
Guidelines
Reference the HHS World Wide Web Applications and the
Internet Best Practices and Guidelines, http://www.hhs.gov/progorg/oirm/bestguid.html,
"Documents" and "Page Sizing" sections for additional information.
| Date |
Change
History |
| |
No changes have been made to this page. |
|