HTML skabeloner

Skabelon til HTML 4.01

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html lang="$sprogkode">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
    <title>$titel</title>
    <link rel="stylesheet" type="text/css" media="screen,projection"
         href="./$stylesheet.css">
    <link rel="shortcut icon" type="image/x-icon" href="/$favicon.ico">
    <link rel="icon" type="image/x-icon" href="/$favicon.ico">
    <style type="text/css">
      $CSS-kode
    </style>
  </head>
  <body>
    $indhold!
  </body>
</html>

Skabelon til XHTML 1.1

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$sprogkode" >
  <head>
    <title>$titel</title>
    <link rel="stylesheet" type="text/css" media="screen,projection"
         href="./$stylesheet.css" />
    <link rel="shortcut icon" type="image/x-icon" href="/$favicon.ico" />
    <link rel="icon" type="image/x-icon" href="/$favicon.ico" />
    <style type="text/css">
      <![CDATA[
        $CSS-kode
      ]]>
    </style>
  </head>
  <body>
    $indhold!
  </body>
</html>

Top