Document Template

You may use either a Transitional or Strict doctype for assignments in this class, but please use one of the templates below. I recommend using Strict, as it helps you learn to write better code.

If you use a Strict doctype, target="_blank" won't validate, but that should be the only validation error on your page.

If you don't have an external stylesheet, you will need to remove or comment out the stylesheet link in your document's head.


Strict Doctype Template

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>Always Give Your Document a Title!</title>

   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="robots" content="noindex, nofollow" />
   <link href="styles.css" rel="stylesheet" type="text/css" />

   
    <style type="text/css">
    <!--
      /* embedded style rules could go here */
    -->  
  </style>
  
</head>
<body>


<!-- begin validation buttons -->
<p>
 <a href="http://validator.w3.org/check?uri=referer">
  <img src="http://www.w3.org/Icons/valid-xhtml10" 
   alt="Valid XHTML 1.0 Transitional" height="31" width="88" />
 </a>
 <a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3">
  <img src="http://jigsaw.w3.org/css-validator/images/vcss" 
   alt="Valid CSS3" height="31" width="88" />
 </a>
</p>
<!-- end validation buttons -->
</body>
</html>

Transitional Doctype Template

<!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>Always Give Your Document a Title!</title>

   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="robots" content="noindex, nofollow" />
   <link href="styles.css" rel="stylesheet" type="text/css" />

   
    <style type="text/css">
    <!--
      /* embedded style rules could go here */
    -->  
  </style>
  
</head>
<body>


<!-- begin validation buttons -->
<p>
 <a href="http://validator.w3.org/check?uri=referer">
  <img src="http://www.w3.org/Icons/valid-xhtml10" 
   alt="Valid XHTML 1.0 Transitional" height="31" width="88" />
 </a>
 <a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3">
  <img src="http://jigsaw.w3.org/css-validator/images/vcss" 
   alt="Valid CSS3" height="31" width="88" />
 </a>
</p>
<!-- end validation buttons -->
</body>
</html>