W3C home > Mailing lists > Public > w3c-wai-au@w3.org > January to March 2000

simple default HTML and linked stylesheet templates

From: Gregory J. Rosmaita <unagi69@concentric.net>
Date: Wed, 01 Mar 2000 19:25:47 -0500
Message-Id: <4.2.2.20000301183617.00acc4a0@pop3.concentric.net>
To: Authoring Tools Guidelines List <w3c-wai-au@w3.org>
aloha, y'all!

is this what you had in mind?  this is not only an extremely simple 
template (i could put back the explanatory comments that i excised if it 
was deemed desirable), but it is (a) brief, and (b) linked to a stylesheet 
template, which validates against the W3C CSS Validation Service (located 
at: http://jigsaw.w3.org/css-validator/) without either error or 
warning...  i also stripped out the autovalidation buttons that are part of 
the templates i give to people who are attempting to learn the basics of 
web site design and construction...

admittedly, the HTML template is quite bareboned, but that also means that 
it is quite extensible and flexible, and that it won't bloat the Techniques 
document, either!

oh, the template validates against the WDG Validation Service:
http://www.htmlhelp.com/tools/validator/direct.html
the W3C Validator (a.k.a. the Geraldizer)
http://validator.w3.org/
and dave raggett's HTML Tidy

gregory.

<!-- begin simple default template -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
                       "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML LANG="en-us">
<HEAD>
<TITLE>This Page Currently Has No Title</TITLE>

   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="author" CONTENT="...">
   <META NAME="description" CONTENT="...">
   <META NAME="keywords" CONTENT="...">

<LINK REV="made" HREF="mailto:...">
<LINK REL="stylesheet" HREF="style/default.css" TYPE="text/css">

</HEAD>

<BODY>


<h1>...</h1>

<ADDRESS>
Put contact information, including a mailto: link here
</ADDRESS>

</BODY>
</HTML>
<!-- end simple default template -->

/* begin default stylesheet referenced in simple default template */
BODY {
	color : white;
	background-color : black;
	font-family : verdana, arial, sans-serif;
}

.date {
	text-align : right;
/* redundant information provided for Netscape 4.x */
	font-family : verdana, arial, sans-serif;
}


.return {
	text-align : center;
/* redundant information provided for Netscape 4.x */
	font-family : verdana, arial, sans-serif;
}

ADDRESS {
	font-size : 105%;
	margin-left : 2.5%;
	margin-right : 2.5%;
	padding : 0.5em;
	border-width : thin;
	border-style : solid;
	border-color : inherit;
	color : inherit;
	background-color : inherit;
/* redundant information provided for Netscape 4.x */
	font-family : verdana, arial, sans-serif;
}

EM {
	font-style : italic;
}

STRONG {
	font-weight : bold;
}

A {
	font-weight : bold;
}

@media screen {

A:link {
	font-weight : bold;
	color : #00FFFF;
	background-color : black;
}

A:active {
	font-weight : bold;
	color : red;
	background-color : black;
}

A:visited {
	font-weight : bold;
	color : fuchsia;
	background-color : black;
}
}

H1,H2,H3,H4,H5,H6 {
	color : #DDDDDD;
	background-color : black;
	font-family : arial, sans-serif;
}

.center {
	text-align : center;
	color : #DDDDDD;
	background-color : black;
}
/* end sample linked stylesheet */
--------------------------------------------------------
He that lives on Hope, dies farting
      -- Benjamin Franklin, Poor Richard's Almanack, 1763
--------------------------------------------------------
Gregory J. Rosmaita <unagi69@concentric.net>
    WebMaster and Minister of Propaganda, VICUG NYC
         <http://www.hicom.net/~oedipus/vicug/index.html>
--------------------------------------------------------
Received on Wednesday, 1 March 2000 19:16:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 September 2008 15:52:56 GMT