University of Texas at Austin
Libraries Home | Mobile | My Account | Renew Items | Sitemap | Help |
support us
University of Texas Libraries
Celebrating the Life

Libraries Web Site Template

All of the header and footer information on our web pages are programmatically generated using the following php scripts.

       = change to content relevant to your site

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>

Libraries Web Site Template - University of Texas Libraries

</title>

<meta name="maintainer" content="

Steve Williams, TIS

" />

 

<meta name="package" content="lib-

style

" />

<?php include('2nd-header.php'); ?>

</head>

 

<body bgcolor="#ffffff">

<?php

$location='

<a href="/about/site.html">About This Site</a> >
<a href="index.html">University of Texas Libraries Graphic Guidelines</a> >
Libraries Web Site Template

';

$menuitems='

<p><a href="/">First navigation item</a></p> <p><a href="second.html">Second navigation item</a></p> <p><a href="third.html">Third navigation item</a></p>

';

include('2nd-surround.php');

?>

<h2>

Electronic Media

</h2>


[CONTENT]

<?php include('2nd-foot.php'); ?>

</body>

</html>


*note: if you use an apostrophe in the php sections, you must comment it out with a back slash:
ex: what's new would be what\'s new

Page Titles

Your page title (<title>):

  • should follow this format: [specific area of the site] –University of Texas at Austin Libraries
  • Ex: Find Books – University of Texas at Austin Libraries
  • Ex: Archaeology – Research by Subject – University of Texas at Austin Libraries
  • should be unique and as succinct as possible
  • should reflect the names of the links the user followed to get to your page
  • using titles that are unique and descriptive and go from specific to general will improve accessibility and search engine optimization as well as the usefulness of bookmarks and tab labels

Breadcrumb Trail

Your breadcrumbs:

  • Should include the path the user used to get to your page
  • Ex: Home > About the Libraries > About the Collections > Subject Specialist Directory
  • Ex: Home > Library Services > Request a Purchase
  • Should include the titles of the drop down menus
  • Should not include Home — it is added automatically to the beginning

 

Consistency

Strive for consistency between Link Labels, Page Titles, Page Headings, and Breadcrumbs

  • these four labels should ideally be the same
  • Ex: A user clicks on a link that says “Find Books,” goes to a page thats includes “Find Books” in the title, “Find Books” is the heading at the top of the page, and the breadcrumb path ends with “Find Books”

 

Side Navigation

Side navigation should be as consistent as possible within a subsection of the site.  Trying to add contextual navigation –guessing which links will be most important to users—on individual pages, tends to backfire and actually cause confusion for users.

    • Your menu items may each be in a new paragraph, or you may use one paragraph with many line breaks for large menus.
    • No images should be used to separate items

Template Variations

You may exclude the side menu by emptying the variable $menuitems.

<?php

$location='<a href="/about/site.html">About This Site</a> > 
<a href="index.html">University of Texas Libraries Graphic Guidelines</a> >
Libraries Web Site Template
'; $menuitems=''; include('2nd-surround.php'); ?>