2016-03-15 27 views
0

我想驗證我的網站validator.w3.org。我已經解決了很多錯誤,但是我無法解決一些錯誤。所以請幫我解決這個問題。這裏是我的代碼:HTML驗證錯誤:雜散結束標籤頭

<html <?php language_attributes(); ?>> 
<head> 
<meta charset="<?php bloginfo('charset'); ?>"> 
<!--<title> 
<?php //echo wp_title('|',true,'right'); ?> 
</title>--> 
<?php 
$layout = vibe_get_option('layout'); 
if(!isset($layout) || !$layout) 
$layout = ''; 
wp_head(); 
?> 
<link rel="icon" 
     type="image/png" 
     href="http://digital-marketing-courses.com/wp-content/themes/wplms/assets/images/icooon.png" property="uploads"> 
<script> 
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 
    ga('create', 'UA-74076097-1', 'auto'); 
    ga('send', 'pageview'); 
</script> 
</head> 
<body <?php body_class($layout); ?>> 
+0

我不熟悉驗證器,但我想你不應該驗證php和JavaScript。嘗試僅驗證靜態內容。 –

回答