W3C validator doet vreemd.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" href="meccano.css" rel="stylesheet">
<table border="0" class="tablecontent" cellspacing="0" cellpadding="6" align="center"><tr>
<td colspan="10" height="15%">
<table border="1" width="100%" cellspacing="0" class="tablecontent"><tr><td bgcolor="darkred">
<center><h1>Meccano</h1></center></td></tr></table></td></tr>
<tr><td width="17%"><table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="tablehead">{{Menuhead}}</div></center></td></tr><tr>
<td bgcolor="lightgrey">{{Menulinks}}</td></tr></table>
</td><td width="80%">
<table border=1 class="tablecontent" width="100%" cellspacing="0" cellpadding="2"><tr>
<td bgcolor="darkred"><center><div class="tablehead">{{Title}}</div>
</center></td></tr><tr><td bgcolor="lightgrey">{{Content}}</td></tr></table>
</td><tr><td colspan="10">
<table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="toetersenbellen">
Laatste wijziging: {{Laatstewijziging}}
| {{Contactlink}} | {{Laadtijd}} Sec.
| {{Disclaimerlink}}
| Vandaag: {{Vandaag}}</div></center></td></tr></table>
</td></tr></table>
1: Hij zegt dat ik met head en body moet werken, maar als ik dat doe zegt ie dat ik <head> niet goed afsluit, en dat ik <link> niet in <head> mag hebben.
2: Hij zegt dat ik mn <table> niet in <body> mag hebben, maar waar mag ie dan wel?
waar staat <body> ? ws heb je het fout gelezen ofsow, paste de echte fout is ipv een vertaling :)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head><link type="text/css" href="meccano.css" rel="stylesheet"></head>
<body>
<table border="0" class="tablecontent" cellspacing="0" cellpadding="6" align="center"><tr>
<td colspan="10" height="15%">
<table border="1" width="100%" cellspacing="0" class="tablecontent"><tr><td bgcolor="darkred">
<center><h1>Meccano</h1></center></td></tr></table></td></tr>
<tr><td width="17%"><table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="tablehead">{{Menuhead}}</div></center></td></tr><tr>
<td bgcolor="lightgrey">{{Menulinks}}</td></tr></table>
</td><td width="80%">
<table border=1 class="tablecontent" width="100%" cellspacing="0" cellpadding="2"><tr>
<td bgcolor="darkred"><center><div class="tablehead">{{Title}}</div>
</center></td></tr><tr><td bgcolor="lightgrey">{{Content}}</td></tr></table>
</td><tr><td colspan="10">
<table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="toetersenbellen">
Laatste wijziging: {{Laatstewijziging}}
| {{Contactlink}} | {{Laadtijd}} Sec.
| {{Disclaimerlink}}
| Vandaag: {{Vandaag}}</div></center></td></tr></table>
</td></tr></table></body>
Nu krijg ik de error:
Line 4, column 70: end tag for "HEAD" which is not finished
...css" href="meccano.css" rel="stylesheet"></head>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.
<link type="text/css" href="meccano.css" rel="stylesheet" />
of
<link type="text/css" href="meccano.css" rel="stylesheet"></link>
Je werkt in XHTML dus ALLE moet je afsluiten
Moet je niet met <html> beginnen?
#
Line 4, column 65: character data is not allowed here
...ype="text/css" href="meccano.css" rel="stylesheet" /></head>
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
Line 4, column 72: end tag for "HEAD" which is not finished
... href="meccano.css" rel="stylesheet" /></head>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.
Gewijzigd op 16/01/2005 14:47:00 door Tobias
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link type="text/css" href="meccano.css" rel="stylesheet" />
</head>
<body>
<table border="0" class="tablecontent" cellspacing="0" cellpadding="6" align="center"><tr>
<td colspan="10" height="15%">
<table border="1" width="100%" cellspacing="0" class="tablecontent"><tr><td bgcolor="darkred">
<center><h1>Meccano</h1></center></td></tr></table></td></tr>
<tr><td width="17%"><table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="tablehead">{{Menuhead}}</div></center></td></tr><tr>
<td bgcolor="lightgrey">{{Menulinks}}</td></tr></table>
</td><td width="80%">
<table border=1 class="tablecontent" width="100%" cellspacing="0" cellpadding="2"><tr>
<td bgcolor="darkred"><center><div class="tablehead">{{Title}}</div>
</center></td></tr><tr><td bgcolor="lightgrey">{{Content}}</td></tr></table>
</td><tr><td colspan="10">
<table class="tablecontent" border="1" width="100%" cellspacing="0" cellpadding="2">
<tr><td bgcolor="darkred"><center><div class="toetersenbellen">
Laatste wijziging: {{Laatstewijziging}}
| {{Contactlink}} | {{Laadtijd}} Sec.
| {{Disclaimerlink}}
| Vandaag: {{Vandaag}}</div></center></td></tr></table>
</td></tr></table></body> </html>
#
Line 5, column 59: character data is not allowed here
<link type="text/css" href="meccano.css" rel="stylesheet" />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
✉
#
Line 6, column 6: end tag for "HEAD" which is not finished
</head>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.
dit is niet strict css maar traditioneel he? dus dat <link ... /> klopt dan vlgns mij niet..
zo krijg ik geen error
Gewijzigd op 16/01/2005 21:40:00 door de VeeWee
Master-Disaster:
Moet je niet met <html> beginnen?
Hangt er vanaf wat je DOCTYPE is.
Als je
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
gebruikt valideert ie als HTML 4.01 (Strict)
gebruik je
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
valideert ie als XHTML 1.0 Strict
en dan moet je de (x)html-tag zo hebben:
<html xmlns="http://www.w3.org/1999/xhtml">
XHTML is hoofdletter-gevoelig!
Line 6, column 6: end tag for "HEAD" which is not finished
</head>
Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.
Je gebruikt de verkeerde DOCTYPE.
Hier zeg je XHTML:
Maar vervolgens
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Maar er is van voor XHTML:
<!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">
Of alleen:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
voor HTML
Zou goed kunnen, maar hoe moet ik anders de encoding duidelijk maken??
<!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">
of
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Ik bedoel de character encoding (utf-8)