jan b.: validierung

hallo alle,

ich habe folgenden kopf:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; ">
<title>zuhause</title>
<meta name="author" content="Jan B.">
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
   <meta http-equiv="Content-Script-Type" content="text/javascript">
   <meta name="robots" content="all">
   <meta name="page-topic" content="blah, blub">
   <meta name="keywords" content="blah, blub">
   <meta name="description" content="bla, blub">
<link rel="stylesheet" href="../stil.css" type="text/css">
</head>

bisher hat der validator das auch akzeptiert. jetzt moppert er, daß ihm folgendes fehlt:

The HTTP Content-Type field.
The XML Declaration.
The HTML "META" element.

hm...was sollte ich korrekter weise hinzufügen?

schönen dank im voraus,
jan

  1. Hallo Jan,

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; ">

    ich vermute mal, das ihm die Zeile nicht passt, die sollte etwa so aussehen:
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    ->http://selfhtml.teamone.de/html/kopfdaten/meta.htm#zeichensatz

    <meta name="keywords" content="blah, blub">

    es geht ja nichts über sinnvolle keywords :-) *scnr*

    Grüße aus Nürnberg
    Tobias

    1. schönen dank tobias, das war's. und valide ist's auch.

      gruß aus berlin
      jan