Public Affairs

Carriage House
UC Santa Cruz
1156 High Street
University of California
Santa Cruz, CA 95064-1077
Email: pioweb@ucsc.edu
Phone: (831) 459-2495

Web:

Web: Coding Issues

Style sheets

Use a style sheet to control layout and maintain settings from a single location.

JavaScript

When including JavaScript code in your HTML page be sure to use "comment" tags to hide the code from older browsers. In addition, please use <NOSCRIPT> tags to include content for non-JavaScript-enabled browsers whenever possible.

META tags

Include META tags in the head of your HTML document to improve search engine listings. Limit your description and keywords to 200 characters. Automatically create META tags for your pages using UKOLN's Dublin Core Generator.

Audio / Video / QTVR / Flash

For multimedia content, offer different versions optimized for various bandwidths. Inform users how long they should expect to wait (using a standard modem) before experiencing content.

Code checking

Test pages using various browsers (including LYNX) and computer platforms. Check code using WebGarage, Lynx Viewer and other HTML syntax tools. Refrain from making links to empty, "under construction" or otherwise incomplete pages. Regularly update and check accuracy of page content. Use current HTML code and features to guarantee proper display by all standard browsers. For checking validity of links, Dreamweaver has a built-in tool to check sites for broken links. If using Firefox browser, consider using the link checker plugin.