运营人
的自我修养

网站建设中常用到的代码整理

<!DOCTYPE html>
<html>
<head>
<meta charset=”utf-8″>
<title>网站常用代码</title>
</head>

<body>
<!– pc网页最少宽度1200开始 –>
<meta name=”viewport” content=”width=1200, initial-scale=0.2, maximum-scale=0.2, user-scalable=yes”>
<!– pc网页最少宽度1200结束 –>

<!– 手机端禁止缩放显示比例开始 –>
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no”>
<!– 手机端禁止缩放显示比例结束 –>

<!– 网站图标开始 –>
<link rel=”shortcut icon” href=”https://www.jinhangseo.com/favicon.ico”/>
<link rel=”bookmark” href=”https://www.jinhangseo.com/favicon.ico”/>
<!– 网站图标结束 –>

<!– css初始化开始 –>
<style type=”text/css”>
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, select, p, th, td{margin: 0;padding: 0;}
body, td, th{color: #444;font-family:’Helvetica Neue’,Helvetica,’PingFang SC’,’Hiragino Sans GB’,’Microsoft YaHei’,Arial,sans-serif; font-size: 14px;}
h1, h2, h3, h4, h5, h6{font-size: 100%;font-weight: normal;}
li, dt, dd{list-style: none;}
a{color:inherit;text-decoration:none;transition:all 0.5s ease-in-out;-webkit-transition:all 0.5s ease-in-out;-moz-transition:all 0.5s ease-in-out;}
a:hover{color:inherit;/*color:#2c88d8;*/text-decoration:none;}
img{border:0;vertical-align:middle;}
.clear{clear:both;}
.hide{display:none;}
.f-fl,.fl{float: left !important}
.f-fr,.fr{float: right !important}
.c_mp{padding: 0 !important;margin: 0 !important;}
</style>
<!– css初始化结束 –>

<!– 跳转手机站开始 –>
<script type=”text/javascript”>
(function(){var ua=navigator.userAgent.toLowerCase();var bIsIpad=ua.match(/ipad/i)==”ipad”;var bIsIphoneOs=ua.match(/iphone os/i)==”iphone os”;var bIsAndroid=ua.match(/android/i)==”android”;var bIsWM=ua.match(/windows mobile/i)==”windows mobile”;if(bIsIpad||bIsIphoneOs||bIsAndroid||bIsWM){window.location.href=”http://m.jinhangseo.com/”}})();
</script>
<!– 跳转手机站开始 –>
<!– 百度商桥开始 –>
<a id=”nb_invite_ok”>百度商桥在线咨询弹窗</a>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement(“script”);
hm.src = “https://hm.baidu.com/hm.js?0be9250eacf94a016564feb54035fdd7”;
var s = document.getElementsByTagName(“script”)[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!– 百度商桥结束 –>

<!– 乐语开始 –>
<a href=”https://looyuoms7811.looyu.com/chat/chat/p.do?_server=0&encrypt=1&c=20004119&f=10060329″ target=”_blank”>XXXX</a>
<a onclick=”doyoo.util.openChat(‘g=客服分组ID’);return false;”>XXXX</a>
<!– 乐语结束 –>

<!– 软文推广微信号开始 –>
<script type=”text/javascript”>
arr_qq = [
‘wx66′,’wx88’
];
arr_wx = [
‘wx66′,’wx88′
];
var wx_index = Math.floor((Math.random() * arr_wx.length));
var stxlwx = arr_qq[wx_index];
var img = arr_wx[wx_index] + “.jpg”;
var wx_img1 = “<img width=’100%’ src=’ewm/” + img + “‘>”;
</script>

<p style=”width:190px;margin:0px auto; “>
<script>document.write(wx_img1)</script>
<script >document.write(stxlwx)</script>
</p>
<!– 软文推广微信号结束 –>

</body>

</html>

赞(0)
未经允许不得转载:运营人的自我修养运营人的自我修养 » 网站建设中常用到的代码整理

运营人的自我修养

淘宝店铺推广合作