Kralle: Hinweis vom HTML-Validator - wie mache ich es richtig?

Beitrag lesen

Moin,

wenn ich diesen Code durch den Validator von (https://validator.w3.org) schicke, bekomme ich Hinweise die ich gerne weg hätte:

!DOCTYPE html>
  <html lang="de">
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <title>Industriesiedlung e.V.</title>
      <meta name="description" content="Auftritt der Industriesiedlung in Bremerhavem-Wulsdorf" />
      <meta name="keywords" content="Siedlung, Bremerhaven, Wulsdorf, Gemeinschaft" />
      <meta name="author" content="Heiko Rompel" />
      <meta name="publisher" content="Sören Brunke" />
      <meta name="robots" content="index,follow" />
      <link rel="stylesheet" href="styles.css" type="text/css" />
    </head>
 

Meldungen:

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 5, column 7; to line 5, column 78

    8">↩      <meta name="viewport" content="width=device-width, initial-scale=1.0" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 7, column 7; to line 7, column 98

    le>↩      <meta name="description" content="Auftritt der Industriesiedlung in Bremerhavem-Wulsdorf" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 8, column 7; to line 8, column 86

     />↩      <meta name="keywords" content="Siedlung, Bremerhaven, Wulsdorf, Gemeinschaft" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 9, column 7; to line 9, column 51

     />↩      <meta name="author" content="Heiko Rompel" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 10, column 7; to line 10, column 54

     />↩      <meta name="publisher" content="Sören Brunke" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 11, column 7; to line 11, column 51

     />↩      <meta name="robots" content="index,follow" />↩     

    Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 12, column 7; to line 12, column 65

     />↩      <link rel="stylesheet" href="styles.css" type="text/css" />↩    <Quelltext hier

Es sind zwar nur Info-Meldungen, aber ich möchte eine Seite erzeugen, die keine Meldungen erzeugt. Was muss man also ändern?

Gruß Heiko