Virtual Remote Control:
Test Site

Home | Table of Contents | Documentation

Protocol for Creating XHTML Files

General Markup Requirements: Files are marked-up according to the W3C XHTML 1.0 standard and use the 1.0 Transitional DTD. The XHTML namespace is specified within the <html> tag.

<head> Requirements: Each <title> element begins with "Virtual Remote Control: Test Site:" followed by the title of the file.

The following elements are included after <title>:
  • <meta name="id" content="1.pageNumber" /> The content attribute contains the unique identifier for a file. The number '1' signifies a file; the unique file number follows the period.
  • <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />: Meta element that declares file type and character encoding.
  • <link rel="stylesheet" href="/control/control.css" type="text/css" />: Link element that declares style sheet file.

<body> Requirements: Following the <body> element is the apache Sever Side Include (SSI) statement for the header file. Note: unique header include files occur for pages that have directory specific navigation. After the SSI statement for the header, the <h4> element containing the page title occurs. Use same page title that occurs after the 2nd colon in the <head> element's <title>. Page content is inserted after the <h4> element; finally, the SSI statement for the footer file is inserted.

Example adopted from this file:

<!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">
<head>
	<title>Virtual Remote Control: Test Site: Protocol for Creating XHTML Files
	</title>
	<meta name="id" content="1.110" />
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link rel="stylesheet" href="/control/control.css" type="text/css" />
</head>

<body>

<!--#include virtual="/control/inc/header.inc" -->

<h4>Protocol for Creating XHTML Files</h4>

<p><b>General Markup Requirements:</b> Files are marked-up according to the W3C
XHTML standard and use the 1.0 Transitional DTD.
The XHTML namespace is specified within the <code><html></code> tag.</p>

<p><b>File <code><head></code> Requirements:</b> Each
<code><title></code> element begins with "Virtual Remote Control: Test Site:" 
followed by the title of the file.</p>

body content continued...

<!--#include virtual="/control/inc/footer.inc" -->

</body>
</html>

© IRIS Research Department, Cornell University Library, 2003
Send questions/comments/suggestions to vrc-testsite@cornell.edu