Rubiakatonbo
09-23-2009, 10:08 PM
Hello,
I've got a few validation errors that I don't understand because I think they're ok...but obviously they're not!
They are:
_____________________________________________________________
# Error Line 7, Column 69: end tag for "html" which is not finished
…ww.w3.org/1999/xhtml" xml:lang="en" lang="en" />
# Error Line 7, Column 69: end tag for "html" which is not finished
…ww.w3.org/1999/xhtml" xml:lang="en" lang="en" />
# Error Line 9, Column 39: document type does not allow element "head" here
<head profile="http://gmpg.org/xfn/11">
# Error Line 48, Column 6: document type does not allow element "body" here
<body>
# Error Line 354, Column 7: end tag for element "html" which is not open
</html>
_____________________________________________________________
My code is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" />
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/reset.css" />
<link type="text/css" media="print" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/tech_hedposts" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
<!--[if lte IE 6]>
<script type="text/javascript" src="http://kevans.hostoi.com/wp-content/themes/PotLucktester/supersleight-min.js"></script>
<![endif]-->
<script type="text/javascript" src="http://kevans.mobify.me/mobify/redirect.js"></script>
<script type="text/javascript">try{_mobify("http://kevans.mobify.me/");} catch(err) {};</script>
</head>
<body>
Please help!
Many thanks.
I've got a few validation errors that I don't understand because I think they're ok...but obviously they're not!
They are:
_____________________________________________________________
# Error Line 7, Column 69: end tag for "html" which is not finished
…ww.w3.org/1999/xhtml" xml:lang="en" lang="en" />
# Error Line 7, Column 69: end tag for "html" which is not finished
…ww.w3.org/1999/xhtml" xml:lang="en" lang="en" />
# Error Line 9, Column 39: document type does not allow element "head" here
<head profile="http://gmpg.org/xfn/11">
# Error Line 48, Column 6: document type does not allow element "body" here
<body>
# Error Line 354, Column 7: end tag for element "html" which is not open
</html>
_____________________________________________________________
My code is as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" />
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/reset.css" />
<link type="text/css" media="print" rel="stylesheet" href="<?php bloginfo('template_url'); ?>/print.css" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/tech_hedposts" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
<!--[if lte IE 6]>
<script type="text/javascript" src="http://kevans.hostoi.com/wp-content/themes/PotLucktester/supersleight-min.js"></script>
<![endif]-->
<script type="text/javascript" src="http://kevans.mobify.me/mobify/redirect.js"></script>
<script type="text/javascript">try{_mobify("http://kevans.mobify.me/");} catch(err) {};</script>
</head>
<body>
Please help!
Many thanks.