Adobe PDF Files (and any other non-HTML or non-ASCII Text files) - Web Style Guide
The standards for marking links to Adobe PDF files also apply to Microsoft Word, Excel, Publisher, WordPerfect, and any other non-HTML and non-ASCII text files. Abbreviations to use in links to these types of files are:
- (PDF)
- (MS Word)
- (MS Excel)
- (MS Publisher)
- (WordPerfect)
- A short description of the file type (i.e., the software that created the file)
The standards to follow are:
-
Adobe Portable Document Format (PDF) files are best used for:
- Forms that will be printed and then filled-in by the site visitor
- Brochures and flyers and other print material that must display in its original (i.e., print) format
PDF files should not be used for textual content that can be presented in an (X)HTML document. An (X)HTML document is more accessible for all site visitors.
-
Use the accessibility features available in Adobe Acrobat when creating PDF files. Upgrade to the latest version of Adobe Acrobat and update your Adobe Acrobat software with the latest patch(es) before creating PDF files. Review the accessibility information for Adobe Acrobat on Adobe's Accessibility website to learn how to make your PDF files accessible.
-
A link to the free Adobe Reader software download page must be provided on pages using PDF files. Place the explanatory paragraph before any link to a PDF file.
This is an example of a descriptive paragraph, including a text link and the button with a link, that would be placed before a list of links:
You must have the free Adobe Reader program installed on your computer to view the documents marked "(PDF)." Download the free Adobe Reader program.

HTML code for the above sentence:
You must have the free Adobe Reader program installed on your computer to view the documents marked "(PDF)." <a href="http://www.adobe.com/products/acrobat/readstep2.html">Download the free Adobe Reader program</a>. <a href="http://www.adobe.com/products/acrobat/readstep2.html"><img src="http://www.ohlone.edu/images/logobuttons/getacrobatreader.gif" width="88" height="31" border="0" align="top" alt="Get Adobe Reader."></a>XHTML code for the above sentence:
You must have the free Adobe Reader program installed on your computer to view the documents marked "(PDF)." <a href="http://www.adobe.com/products/acrobat/readstep2.html">Download the free Adobe Reader program</a>. <a href="http://www.adobe.com/products/acrobat/readstep2.html"><img src="http://www.ohlone.edu/images/logobuttons/getacrobatreader.gif" width="88" height="31" border="0" align="top" alt="Get Adobe Reader." /></a>The correct URL for the download page is:
http://www.adobe.com/products/acrobat/readstep2.htmlThe markup for our centrally-stored Get Adobe Reader button image with the download link is:
HTML example:
<a href="http://www.adobe.com/products/acrobat/readstep2.html"><img src="http://www.ohlone.edu/images/logobuttons/getacrobatreader.gif" width="88" height="31" border="0"></a>XHTML example:
<a href="http://www.adobe.com/products/acrobat/readstep2.html"><img src="http://www.ohlone.edu/images/logobuttons/getacrobatreader.gif" width="88" height="31" border="0" /></a> -
Links to Adobe PDF files must be marked with one of the following:
-
Links to Adobe PDF files should be followed by the file size of the PDF file (see examples below), especially if the file size is 1 mb or greater. This allows the site visitor to decide whether he or she wants to view the file (people with slower modems may not be able to comfortably view large files).
-
Be consistent throughout your website; do not use more than one of these styles:
- Preferred:
- Proposal for Free Pastries (PDF 2.1 mb)
- Proposal for Free Sodas (PDF)
[NOTE: Size can be skipped if the file is less than 1 mb.] - Proposal for Free Cookies (PDF 501 kb) (view with the free Adobe Reader program)
[NOTE: This option can be used if may be confusing to place the full explanatory paragraph before the link (for example if there is only one link and it is a PDF file).]
- Less preferred:
- Proposal for Free Coffee
(1.0 mb)
- Proposal for Free Coffee
- Preferred:
-
Markup for the image tag for the centrally-stored Adobe PDF icon file (
):HTML:
<img src="http://www.ohlone.edu/images/icons/icon_adobepdf.gif" width="16" height="16" alt="PDF icon">XHTML:
<img src="http://www.ohlone.edu/images/icons/icon_adobepdf.gif" width="16" height="16" alt="PDF icon" /> -
(X)HTML code for the phrase "(view with the free Adobe Reader program)":
(view with the free <a href="http://www.adobe.com/products/acrobat/readstep2.html">Adobe Reader</a> program)
