im trying to validate my xhtml on the w3 validation site but i keep getting error i cant quite figure out.
# Line 47, Column 7: end tag for element "head" which is not open
</head>
?
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
# Error Line 47, Column 7: XML Parsing Error: Opening and ending tag mismatch: html line 2 and head
</head>
my code is
# Line 47, Column 7: end tag for element "head" which is not open
</head>
?
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
# Error Line 47, Column 7: XML Parsing Error: Opening and ending tag mismatch: html line 2 and head
</head>
my code is
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en" >
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<title>Tutorial</title>
<link rel="stylesheet" type="text/css" href="text.css" />
<style type="text/css">
</style>
</head>
<body>