We have developed a template based system that makes it quick and easy to create pages in the department's standard design, providing a consistent look and feel across the site. To transform any page into the physics style just add the line <meta name="template" content="template1" /> immediately below the <head> tag and ensure that the page has the file extension .htm not .html.

Be sure to follow the accessibility checklists at the University site and The Web Accessibility Initiative.

Example Pages

We have prepared a sample page that demonstrates all of the html tags that should be needed to produce any page. It can be viewed online and the source downloaded as a zip archive.


The side navigation menus are created from an xml file called menu.xml that should be placed in the same directory as the pages. A sample menu.xml file is included in the example pages. If a menu.xml file is not found in a particular directory then the system will check the directory above, eg if does not exist then the system will look for and so forth.

Default Page

Every folder should contain a home page named default.htm, any user requesting a directory without specifying a filename will be redirected to this page, eg requests to are redirected to

Further Advice

For support please feel free to contact the physics webmaster.


Using Web Templates on a Linux server

Simon Calcutt has developed a method of emulating the existing Physics style using a Perl script for Linux (used for the AOPP site). Please download the files to do this from here. Please read the documentation on how to use it here.