xhtml validering
når denne kode valideres1:
2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
3: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da">
4: <head>
5: <link rel="stylesheet" type="text/css" href="style.css" />
6: </head>
7: <body>
8:
9: <div id="logo">
10: <img alt="Galnet Nordic" src="logo.gif" />
11: </div>
12:
13: <div id="title">
14: IP-Telefoni
15: </div>
16:
17: <div id="icons">
18: <a href="#"><img style="border-width: 0px;" alt="Print side" src="printer.gif" /></a>
19: <a href="#"><img style="border-width: 0px;" alt="Lav PDF" src="pdf.gif" /></a>
20: </div>
21:
22: <div id="content">
23:
24: <div>
25:
26: </body>
27: </html>
får jeg disse fejl beskeder
1.
Line 6, column 6: end tag for "head" which is not finished
</head>
2.
Line 26, column 6: end tag for "div" omitted, but OMITTAG NO was specified
</body>
3.
Line 24, column 1: start tag was here
<div>
4.
Line 26, column 6: end tag for "div" omitted, but OMITTAG NO was specified
</body>
5.
Line 22, column 1: start tag was here
<div id="content">
I kan evt. selv tage koden og smide den i validatoren. jeg kan ikke give jer linket til sssiden da den er beskyttet af htaccess.. nogen der kan hjælpe