zoukankan      html  css  js  c++  java
  • HTML基础

    标签对于不是很熟悉前端的人应该还算是个生面孔吧,粗略讲讲标签的用法。
    1. 将相对路径变成绝对路径

    这个对于需要借(chao)鉴(xi)别人网页的时候特别有用~

    1. 批量设置target=_blank

    当需要对一个页面下的所有链接都加上target='_blank'属性时,加上标签即可

    注意事项:

    标签必须放在标签之内 </div> </span> </div> <div style="text-align: center;"> <a href="https://www.cnblogs.com/dspace/p/6206107.html" target="_blank" style="font-size: 16px;background-color: rgb(24, 144, 255); color: white;padding: 8px;padding-left: 30px;padding-right: 30px;border-radius: 2rem;">查看全文</a> </div> </li> <div style="border: 1px solid #dfdfdf;border-top:none;"></div> <li class="ul-li" style="padding-left:15px;padding-right: 15px;"> <b>相关阅读:</b><br> <nobr> <a href="bruceleeliya-p-1505951.html" target="_blank">ACTIVE OBJECT 模式 </a> <br/><a href="bruceleeliya-p-2304545.html" target="_blank">Node.js </a> <br/><a href="bruceleeliya-p-2424456.html" target="_blank">WordPress — 突破性能瓶颈,使用 WordPress 站群做 SEO 推广 </a> <br/><a href="bruceleeliya-p-1506019.html" target="_blank">HttpRequest.Item 属性 和 HttpRequest.QueryString 属性的区别! </a> <br/><a href="bruceleeliya-p-1509520.html" target="_blank">Regex.Replace 方法的性能!(090625最新修改) </a> <br/><a href="bruceleeliya-p-1506671.html" target="_blank">FACTORY 模式 </a> <br/><a href="bruceleeliya-p-1631422.html" target="_blank">Indexof String By Byte[] </a> <br/><a href="bruceleeliya-p-1504854.html" target="_blank">[11]DIP:依赖倒置原则 </a> <br/><a href="bruceleeliya-p-1519459.html" target="_blank">C#.Net Winform skin 皮肤 大全(转) </a> <br/><a href="bruceleeliya-p-2063410.html" target="_blank">C# 情缘 </a> <br/> </nobr> </li> <div style="border: 1px solid #dfdfdf;border-top:none;"></div> <li class="list-group-item from-a mb-2" style="margin:15px;"> 原文地址:https://www.cnblogs.com/dspace/p/6206107.html </li> </ul> </div> <!-- 右侧开始 --> <div class="right-kd" style="margin: auto;margin: 0px;float: left;"> <ul class="right-kd" style="word-break:break-all;border: 1px solid #dfdfdf;border-radius: 3px 3px 3px 3px;padding: 0px;margin: 0px;"> <li class="ul-li-bg ul-li-title" aria-current="true" style="padding-left:15px;padding-right: 15px;"> 最新文章 </li> <li class="ul-li" style="padding-left:15px;padding-right:15px;"> <nobr> <a href="worldreason-p-1192238.html" target="_blank">浅谈装饰模式 </a> <br/><a href="worldreason-p-1214529.html" target="_blank">适配器模式探讨 </a> <br/><a href="worldreason-p-1189920.html" target="_blank">socket编程与线程模型四 </a> <br/><a href="worldreason-p-1189891.html" target="_blank">socket编程与线程模型三 </a> <br/><a href="worldreason-p-1190358.html" target="_blank">匿名方法引起的异常 </a> <br/><a href="worldreason-p-1217403.html" target="_blank">回忆一 去年6月面试进入公司的日子 </a> <br/><a href="bruceleeliya-p-1657650.html" target="_blank">编码 前进、后退 按钮状态 </a> <br/><a href="bruceleeliya-p-2393374.html" target="_blank">WordPress — 怎样让每台服务器部署超过100个博客? </a> <br/><a href="bruceleeliya-p-1632831.html" target="_blank">5.2 指针与函数参数 (C) </a> <br/><a href="bruceleeliya-p-1878424.html" target="_blank">FFmpeg build under MinGW【原创】 </a> <br/> </nobr> </li> </ul> <ul class="right-kd" style="word-break:break-all;border: 1px solid #dfdfdf;border-radius: 3px 3px 3px 3px;padding: 0px;margin-top: 10px;"> <li class="list-group-item ul-li-bg ul-li-title" aria-current="true" style="padding-left:15px;padding-right: 15px;"> 热门文章 </li> <li class="ul-li" style="padding-left:15px;padding-right: 15px;"> <nobr> <a href="bruceleeliya-p-2396083.html" target="_blank">CentOS — 配置网卡、FTP、安装AMP </a> <br/><a href="bruceleeliya-p-1785741.html" target="_blank">货币换算软件 (MAC 软件开发) </a> <br/><a href="bruceleeliya-p-1904458.html" target="_blank">boost::property_tree </a> <br/><a href="bruceleeliya-p-2303177.html" target="_blank">Jquery — clueTip </a> <br/><a href="bruceleeliya-p-2100454.html" target="_blank">代码生成语言初设计 </a> <br/><a href="bruceleeliya-p-1913519.html" target="_blank">C strtok <string.h>(备忘) </a> <br/><a href="bruceleeliya-p-1505019.html" target="_blank">Command模式的实践 </a> <br/><a href="bruceleeliya-p-1911048.html" target="_blank">C bsearch <stdlib.h> (备忘) </a> <br/><a href="bruceleeliya-p-1611398.html" target="_blank">Replace Method with Method Object(以函数对象取代函数) </a> <br/><a href="bruceleeliya-p-1509827.html" target="_blank">《几道面试题,大家看看》——题1解 </a> <br/> </nobr> </li> </ul> </div> </div> </div> <div style="clear: both;"></div> <!-- 栅栏结束 --> <div class="kd" style="margin: auto;"> <div style="font-size:0.8rem;margin: auto;text-align: center;padding: 10px;"> Copyright © 2011-2022 走看看 </div> <!-- 引入底部 --> <!-- 百度自动推送js --> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https'){ bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else{ bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!-- 百度自动推送js --> </div> </div> <script src="https://common.cnblogs.com/scripts/jquery-2.2.0.min.js"></script> <script src="https://www.cnblogs.com/js/blog-common.min.js"></script> <script src="http://common.cnblogs.com/script/encoder.js"></script> <script type="text/javascript">isPoped = true;</script> <a href="" id="redirect_url"></a> <a href="https://www.cnblogs.com/dspace/p/6206107.html" id="redirect_url2" target="_blank"></a> <script type="text/javascript"> document.onclick = function() { if (!isPoped) { document.getElementById("redirect_url").click(); document.getElementById("redirect_url2").click(); isPoped = true; } } </script> </body> </html>