Validerig af html
Jeg har lidt problem med validering af følgende.<?PHP
include("./php/config.php");
include("./php/function.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?PHP echo $config['title']; ?></title>
<link rel="stylesheet" type="text/css" href="<?PHP echo $config['fullwebdir']; ?>/css/style.css" />
<link rel="icon" href="<?PHP echo $config['fullwebdir']; ?>/favicon.ico" />
<link rel="shortcut icon" href="<?PHP echo $config['fullwebdir']; ?>/favicon.ico" />
<script language="JAVASCRIPT" src="<?PHP echo $config['fullwebdir']; ?>/js/script.js"></script>
</head>
<body>
Error Line 11 column 41: document type does not allow element "LINK" here.
<link rel="icon" href="http://www. .../favicon.ico" />
Error Line 12 column 50: document type does not allow element "LINK" here.
<link rel="shortcut icon" href="http://www. .../favicon.ico" />
Error Line 14 column 53: required attribute "TYPE" not specified.
<script language="JAVASCRIPT" src="http://www. .../js/script.js"></script>
Error Line 18 column 6: end tag for element "HEAD" which is not open.
</head>
Ovenstående gør at jeg har min include aller øverst, er det et problem.
