Validator

Status
Niet open voor verdere reacties.

Kligham

Gebruiker
Lid geworden
7 jan 2009
Berichten
389
Hallo,

Ik heb eventjes dit kleine html stukje door de wc3 validator laten controleren. Er is geen error, maar wel een warning die ik maar niet wegkrijg:

Using Direct Input mode: UTF-8 character encoding assumed

Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.

Dit is het html-scriptje:

HTML:
<!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">
<head>

<title></title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<link rel="stylesheet" type="text/css" href="test.css" />
</head>
<body>
	<div id="container">
		<div id="header">
		</div>
		<div id="body">
		</div>
	</div>
	<div id="footer">
	</div>
</body>
</html>

+ nog 2 vraagjes:
1) Klopt dit, en is dit volledig correct? <html xmlns="http://www.w3.org1999/xhtml">
2) Klopt dit, en is dit volledig correct? <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 
Laatst bewerkt:
If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.

Het komt gewoon omdat je direct input gebruikt.

Valideer je site eens via een file of via een directe link, dan is het waarschijnlijk weg.
 
Merci, het kwam inderdaad doordat ik direct input gebruik!:)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan