首页侧栏代码
2019-04-01
数据中心 / 网站课程
代码设置:
代码效果:
<a href=”/category/sjzx” target=”_blank”><B>数据中心入口</B></a><br />
上面代码得到效果,如下图:
————————————–
<a href=”/category/s” target=”_blank” style=”
display: block;
text-align: center;
padding: 20px;
background-color: #2196f3;
color: #fff;
“><b>学习论坛空间</b></a>
<a href="/category/s" target="_blank" style=" display: block; text-align: center; padding: 20px; background-color: #2196f3; color: #fff; "><b>学习论坛空间</b></a>
上面,代码段,得到效果,如下图:
——————————————-
<a href=”http://forecast.weather.com.cn/town/weather1dn/101280406007.shtml” target=”_blank” style=”
display: block;
text-align: center;
padding: 20px;
background-color: #2196f3;
color: #fff;
“><b>今日留隍天气</b></a>
———————————————
<a href=”https://www.baidu.com/s?wd=%E4%BB%8A%E6%97%A5%E5%86%9C%E5%8E%86&rsv_spt=1&rsv_iqid=0xf9e39dbc000293a9&issp=1&f=8&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=101″ target=”_blank” style=”
display: block;
text-align: center;
padding: 20px;
background-color: #2196f3;
color: #fff;
“><b>今日日历大全</b></a>
—————————-
效果如下:



