帮我看下head区域这样有没有啥问题
帮忙看下我网页中head的结构有没有啥问题,
手机版本:PC版本:
帮忙看下有没有需要修改或优化的地方,谢谢
手机版本:
- <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>title</title> <meta name="Keywords" content="Keywords-info"> <meta name="Description" content="Description-info"> <meta name="applicable-device" content="mobile" /> <link rel="stylesheet" href="/uikit/css/uikit.min.css" /> <link rel="canonical" id="canonical-link" href="http://www.ok. c o m/item/100.html" /> <script type="text/javascript"> if (!/Mobile/i.test(navigator.userAgent)) { window.location.href = document.getElementById('canonical-link').getAttribute('href'); } </script> <script src="/uikit/js/uikit.min.js"></script> <script src="/uikit/js/uikit-icons.min.js"></script> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" ></script> </head>
- <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>title</title> <meta name="Keywords" content="Keywords-info"> <meta name="Description" content="Description-info"> <meta name="applicable-device" content="pc" /> <meta name="renderer" content="webkit" /> <meta name="xhtml" http-equiv="mobile-agent" content="format=xhtml; url=http://m.ok.com/item/100.html" /> <meta name="html5" http-equiv="mobile-agent" content="format=html5; url=http://m.ok.com/item/100.html" /> <link name="head_link" rel="alternate" media="only screen and (max-width: 640px)" /> <link rel="stylesheet" href="../layui/css.css"> <script src="//dup.baidustatic.com/js/ds.js"></script> <script type="text/javascript"> if (/Mobile/i.test(navigator.userAgent)) { window.location.href = "http://m.ok.com/item/100.html"; } </script> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" ></script> </head>