维亿CMS资源网,免费分享和下载
当前位置: 首页 > CMS建站 > 网站标题用什么分隔符号

网站标题用什么分隔符号

匿名站长 CMS建站
扫码手机访问

网站标题中的关键词用什么符号分开,或者说应该使用什么分隔符更合适呢。

常用的分隔符有以下几种:

竖线:丨

横线:-

顿号:、

逗号:,

以及其他一些不常用的符号和特殊符号

对于分隔符的使用,段文杰SEO不建议使用不常见的符号,更不建议使用特殊符号,从搜索引擎优化的角度考量,不管使用什么符号,对SEO优化结果并不会产生影响,但是从用户体验的角度来讲,特殊符号会让人在视觉上产生不舒服的感觉,影响用户体验。

从大部分的案例中,我们不难看到,使用最频繁的是竖线和横线两种分隔符,在这两种分隔符的选择中,段文杰SEO更青睐横线,而且喜欢在横线的前面和后面都加入一个空格,让每个关键词之间都保持一定的距离,这样做会让用户看上去感觉非常的舒服。

当然,根据个人的喜好,你可以选择以上分隔符中的任意一种,不过段文杰SEO还是建议,在关键词与网站品牌之间,还是建议使用横线进行分割,以此来强调网站品牌,突出品牌关键词,例如这种写法:“ 某某某,某某某,某某某 - 段文杰SEO博客<title>”。</p> </div> <div class="article-end"> <div class="tag"> <p>标签:</p> <a>符号</a> </div> </div> <div class="mzsm"> <p><strong>免责声明:</strong></p> <p>本站提供的资源,都来自网络,版权争议与本站无关,所有内容及软件的文章仅限用于学习和研究目的。不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负,我们不保证内容的长久可用性,通过使用本站内容随之而来的风险与本站无关,您必须在下载后的24个小时之内,从您的电脑/手机中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。侵删请致信E-mail: 123456@qq.com </p> </div> <div class="c-title"> 同类推荐 </div> <ul class="list_1"> <li><i class="iconfont icon-dot"></i><a href="/seozs/14977.html" title="解读网站优化中特殊符号的使用">解读网站优化中特殊符号的使用</a><span class="date">10-29</span></li> <li><i class="iconfont icon-dot"></i><a href="/seozs/14908.html" title="高级的营销不是建立庞大的营销网络,而是利用品牌符号">高级的营销不是建立庞大的营销网络,而是利用品牌符号</a><span class="date">10-29</span></li> <li><i class="iconfont icon-dot"></i><a href="/jz/4069.html" title="网站标题关键词用什么符号分隔开好些?">网站标题关键词用什么符号分隔开好些?</a><span class="date">03-16</span></li> <li><i class="iconfont icon-dot"></i><a href="/jz/3515.html" title="特殊符号SEO">特殊符号SEO</a><span class="date">03-14</span></li> <li><i class="iconfont icon-dot"></i><a href="/seozs/1363.html" title="title中的关键词用什么符号隔开">title中的关键词用什么符号隔开</a><span class="date">03-07</span></li> </ul> </div> <div class="right"> <div class="list-right nav"> <section class="_135editor" data-tools="135编辑器" data-id="102361"> <section style="background:#fff;margin:10px auto;"> <section style="margin:0px auto;text-align:center;"> <section style="display:inline-block;"> <section style="display:flex;justify-content:center;align-items:flex-end;transform:rotate(0deg);"> <section style="display:flex;justify-content:center;align-items:center;"> <section style="box-sizing:border-box;width:50px;margin-right:-5px;"> <img class="assistant" style="vertical-align:inherit;box-sizing:border-box;width:100%;display:block;" src="/class/newapptheme/static/images/laba_zuo.gif" data-ratio="0.68" data-w="252" data-width="100%" _src="/class/newapptheme/static/images/laba_zuo.gif" draggable="false"> </section> <section class="135brush" data-brushtype="text" style="font-size:16px;letter-spacing:1.5px;padding:7px 1em;color:#fff;background:#fc6238;"> <strong>关注我们</strong> </section> <section style="box-sizing:border-box;width:50px;margin-left:-5px;"> <img class="assistant" style="vertical-align:inherit;box-sizing:border-box;width:100%;display:block;" src="/class/newapptheme/static/images/laba_you.gif" data-ratio="0.68" data-w="252" data-width="100%" _src="/class/newapptheme/static/images/laba_you.gif" draggable="false"> </section> </section> </section> </section> </section> <section style="background:#ffefeb;padding:2em 0px 1em 0px;margin-top:-20px;"> <section style="display:flex;justify-content:space-around;align-items:center;" hm_fix="381:483"> <section style="box-sizing:border-box;width:130px;"><img style="vertical-align:inherit;box-sizing:border-box;width:100%;display:block;" src="/class/newapptheme/static/images/gzh.jpg" data-ratio="1" data-width="100%" _src="/class/newapptheme/static/images/gzh.jpg" draggable="false" data-op="change" title="维亿CMS资源网" alt="" data-w="156"></section> <section style="display:inline-block;"> <section style="display:flex;justify-content:flex-start;align-items:center;"> <section> <section class="135brush" data-brushtype="text" style="font-size:14px;color:#fc6238;word-break:break-all;margin-top:10px;">  扫码点个关注吧~ </section> <section class="135brush" data-brushtype="text" style="font-size:14px;color:#fc6238;word-break:break-all;margin-top:4px;">  维亿CMS资源网 </section> <section class="135brush" data-brushtype="text" style="font-size:14px;color:#fc6238;word-break:break-all;margin-top:4px;"> 关注获取更多精彩资讯 </section> </section> </section> </section> </section> </section> </section> </section> </div> <div class="list-right nav"> <div class="c-title"> 栏目分类 </div> <ul> <ol class=""><a href="/jz" class="target">CMS建站</a></ol> </ul> </div> <div class="article-right"> <div class="c-title"> 热门文章 </div> <ul class="list"> <li><a href="/seozs/13823.html" target="_blank"><i>1</i>网站URL结构错误的解决方法</a></li> <li><a href="/jz/1.html" target="_blank"><i>2</i>网站建设需要的3个思维 ,仅少数建站人员知道</a></li> <li><a href="/jz/18.html" target="_blank"><i>3</i>深圳网站建设哪家设计好?深圳网站建设品牌;深圳网站建设方案策划</a></li> <li><a href="/cjjc/3.html" target="_blank"><i>4</i>老站长教你如何用cms建站</a></li> <li><a href="/zyjc/4.html" target="_blank"><i>5</i>内容管理系统(CMS)是什么意思? CMS的含义</a></li> <li><a href="/jz/5.html" target="_blank"><i>6</i>天津seo怎么优化(天津seo排名优化公司)</a></li> <li><a href="/jz/7.html" target="_blank"><i>7</i>仪表seo优化(seo高级优化方法)</a></li> <li><a href="/jz/8.html" target="_blank"><i>8</i>小说seo关键字优化(沈阳seo关键字优化)</a></li> <li><a href="/jz/9.html" target="_blank"><i>9</i>seo网络优化技术(SEO网络优化)</a></li> <li><a href="/jz/10.html" target="_blank"><i>10</i>关键词seo优化哪家有(江门抖音SEo关键词优化)</a></li> </ul> </div> <div class="article-right"> <div class="c-title"> 随机推荐 </div> <ul class="list"> <li><a href="/qiye/87.html" target="_blank"><i>1</i>齐博CMS</a></li> <li><a href="/qiye/88.html" target="_blank"><i>2</i>115cms</a></li> <li><a href="/mianfei/90.html" target="_blank"><i>3</i>YzmCMS</a></li> <li><a href="/mianfei/92.html" target="_blank"><i>4</i>FastAdmin</a></li> <li><a href="/caijigj/105.html" target="_blank"><i>5</i>万能采集</a></li> <li><a href="/mianfei/79.html" target="_blank"><i>6</i>织梦DEDE</a></li> <li><a href="/cmscj/107.html" target="_blank"><i>7</i>帝国cms微信扫码关注公众号自动注册登陆插件</a></li> <li><a href="/mianfei/77.html" target="_blank"><i>8</i>Z-Blog博客CMS</a></li> <li><a href="/caijigj/100.html" target="_blank"><i>9</i>八爪鱼采集器</a></li> <li><a href="/caijigj/102.html" target="_blank"><i>10</i>水淼软件 </a></li> </ul> </div> </div> </div> </div> <style> footer { display: block } .row9 { margin-left: auto; margin-right: auto; margin-bottom: 20px } .row9:after { content: ""; display: table; clear: both } .row9 .col { float: left; box-sizing: border-box; padding: 0 0.75rem; min-height: 1px } .row9 .col[class*="push-"], .row9 .col[class*="pull-"] { position: relative } .row9 .col.s1 { width: 8.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.s2 { width: 16.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.s3 { width: 25%; margin-left: auto; left: auto; right: auto } .row9 .col.s4 { width: 33.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.s5 { width: 41.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.s6 { width: 50%; margin-left: auto; left: auto; right: auto } .row9 .col.s7 { width: 58.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.s8 { width: 66.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.s9 { width: 75%; margin-left: auto; left: auto; right: auto } .row9 .col.s10 { width: 83.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.s11 { width: 91.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.s12 { width: 100%; margin-left: auto; left: auto; right: auto } .row9 .col.offset-s1 { margin-left: 8.33333% } .row9 .col.pull-s1 { right: 8.33333% } .row9 .col.push-s1 { left: 8.33333% } .row9 .col.offset-s2 { margin-left: 16.66667% } .row9 .col.pull-s2 { right: 16.66667% } .row9 .col.push-s2 { left: 16.66667% } .row9 .col.offset-s3 { margin-left: 25% } .row9 .col.pull-s3 { right: 25% } .row9 .col.push-s3 { left: 25% } .row9 .col.offset-s4 { margin-left: 33.33333% } .row9 .col.pull-s4 { right: 33.33333% } .row9 .col.push-s4 { left: 33.33333% } .row9 .col.offset-s5 { margin-left: 41.66667% } .row9 .col.pull-s5 { right: 41.66667% } .row9 .col.push-s5 { left: 41.66667% } .row9 .col.offset-s6 { margin-left: 50% } .row9 .col.pull-s6 { right: 50% } .row9 .col.push-s6 { left: 50% } .row9 .col.offset-s7 { margin-left: 58.33333% } .row9 .col.pull-s7 { right: 58.33333% } .row9 .col.push-s7 { left: 58.33333% } .row9 .col.offset-s8 { margin-left: 66.66667% } .row9 .col.pull-s8 { right: 66.66667% } .row9 .col.push-s8 { left: 66.66667% } .row9 .col.offset-s9 { margin-left: 75% } .row9 .col.pull-s9 { right: 75% } .row9 .col.push-s9 { left: 75% } .row9 .col.offset-s10 { margin-left: 83.33333% } .row9 .col.pull-s10 { right: 83.33333% } .row9 .col.push-s10 { left: 83.33333% } .row9 .col.offset-s11 { margin-left: 91.66667% } .row9 .col.pull-s11 { right: 91.66667% } .row9 .col.push-s11 { left: 91.66667% } .row9 .col.offset-s12 { margin-left: 100% } .row9 .col.pull-s12 { right: 100% } .row9 .col.push-s12 { left: 100% } @media only screen and (min-width: 544px) { .row9 .col.m1 { width: 8.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.m2 { width: 16.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.m3 { width: 25%; margin-left: auto; left: auto; right: auto } .row9 .col.m4 { width: 33.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.m5 { width: 41.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.m6 { width: 50%; margin-left: auto; left: auto; right: auto } .row9 .col.m7 { width: 58.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.m8 { width: 66.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.m9 { width: 75%; margin-left: auto; left: auto; right: auto } .row9 .col.m10 { width: 83.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.m11 { width: 91.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.m12 { width: 100%; margin-left: auto; left: auto; right: auto } .row9 .col.offset-m1 { margin-left: 8.33333% } .row9 .col.pull-m1 { right: 8.33333% } .row9 .col.push-m1 { left: 8.33333% } .row9 .col.offset-m2 { margin-left: 16.66667% } .row9 .col.pull-m2 { right: 16.66667% } .row9 .col.push-m2 { left: 16.66667% } .row9 .col.offset-m3 { margin-left: 25% } .row9 .col.pull-m3 { right: 25% } .row9 .col.push-m3 { left: 25% } .row9 .col.offset-m4 { margin-left: 33.33333% } .row9 .col.pull-m4 { right: 33.33333% } .row9 .col.push-m4 { left: 33.33333% } .row9 .col.offset-m5 { margin-left: 41.66667% } .row9 .col.pull-m5 { right: 41.66667% } .row9 .col.push-m5 { left: 41.66667% } .row9 .col.offset-m6 { margin-left: 50% } .row9 .col.pull-m6 { right: 50% } .row9 .col.push-m6 { left: 50% } .row9 .col.offset-m7 { margin-left: 58.33333% } .row9 .col.pull-m7 { right: 58.33333% } .row9 .col.push-m7 { left: 58.33333% } .row9 .col.offset-m8 { margin-left: 66.66667% } .row9 .col.pull-m8 { right: 66.66667% } .row9 .col.push-m8 { left: 66.66667% } .row9 .col.offset-m9 { margin-left: 75% } .row9 .col.pull-m9 { right: 75% } .row9 .col.push-m9 { left: 75% } .row9 .col.offset-m10 { margin-left: 83.33333% } .row9 .col.pull-m10 { right: 83.33333% } .row9 .col.push-m10 { left: 83.33333% } .row9 .col.offset-m11 { margin-left: 91.66667% } .row9 .col.pull-m11 { right: 91.66667% } .row9 .col.push-m11 { left: 91.66667% } .row9 .col.offset-m12 { margin-left: 100% } .row9 .col.pull-m12 { right: 100% } .row9 .col.push-m12 { left: 100% } } @media only screen and (min-width: 1024px) { .row9 .col.l1 { width: 8.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.l2 { width: 16.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.l3 { width: 25%; margin-left: auto; left: auto; right: auto } .row9 .col.l4 { width: 33.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.l5 { width: 41.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.l6 { width: 50%; margin-left: auto; left: auto; right: auto } .row9 .col.l7 { width: 58.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.l8 { width: 66.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.l9 { width: 75%; margin-left: auto; left: auto; right: auto } .row9 .col.l10 { width: 83.33333%; margin-left: auto; left: auto; right: auto } .row9 .col.l11 { width: 91.66667%; margin-left: auto; left: auto; right: auto } .row9 .col.l12 { width: 100%; margin-left: auto; left: auto; right: auto } .row9 .col.offset-l1 { margin-left: 8.33333% } .row9 .col.pull-l1 { right: 8.33333% } .row9 .col.push-l1 { left: 8.33333% } .row9 .col.offset-l2 { margin-left: 16.66667% } .row9 .col.pull-l2 { right: 16.66667% } .row9 .col.push-l2 { left: 16.66667% } .row9 .col.offset-l3 { margin-left: 25% } .row9 .col.pull-l3 { right: 25% } .row9 .col.push-l3 { left: 25% } .row9 .col.offset-l4 { margin-left: 33.33333% } .row9 .col.pull-l4 { right: 33.33333% } .row9 .col.push-l4 { left: 33.33333% } .row9 .col.offset-l5 { margin-left: 41.66667% } .row9 .col.pull-l5 { right: 41.66667% } .row9 .col.push-l5 { left: 41.66667% } .row9 .col.offset-l6 { margin-left: 50% } .row9 .col.pull-l6 { right: 50% } .row9 .col.push-l6 { left: 50% } .row9 .col.offset-l7 { margin-left: 58.33333% } .row9 .col.pull-l7 { right: 58.33333% } .row9 .col.push-l7 { left: 58.33333% } .row9 .col.offset-l8 { margin-left: 66.66667% } .row9 .col.pull-l8 { right: 66.66667% } .row9 .col.push-l8 { left: 66.66667% } .row9 .col.offset-l9 { margin-left: 75% } .row9 .col.pull-l9 { right: 75% } .row9 .col.push-l9 { left: 75% } .row9 .col.offset-l10 { margin-left: 83.33333% } .row9 .col.pull-l10 { right: 83.33333% } .row9 .col.push-l10 { left: 83.33333% } .row9 .col.offset-l11 { margin-left: 91.66667% } .row9 .col.pull-l11 { right: 91.66667% } .row9 .col.push-l11 { left: 91.66667% } .row9 .col.offset-l12 { margin-left: 100% } .row9 .col.pull-l12 { right: 100% } .row9 .col.push-l12 { left: 100% } } .container9 { position: relative; margin: 0 auto; padding-right: 15px; padding-left: 15px; max-width: 1280px } .row9 { position: relative; display: block; -webkit-box-sizing: border-box; box-sizing: border-box; margin-right: 0; margin-left: 0; width: 100%; height: auto; zoom: 1 } .row9:after, .row9:before { display: table; content: '' } .row10 ul li { float: left; font-size: 14px; margin: 0 10px; overflow: hidden; } .footer { clear: both; height: 100%; margin-top: 10px; padding-bottom: 0px; /*border-top: 1px solid #eee;*/ } .footer a { color: #bbb } .footer a:hover { color: #166df1; transition: .3s all; } .footer h2.logos { margin: 1rem auto; max-width: 160px; color: #ccc; text-align: center } .footer-head { color: #aaaaaa; font-size: 14px; font-weight: 700; margin-top: 0; margin-bottom: 10px } .cs-footer-links { margin: 10px 0 } .cs-footer-links li { display: block; padding-bottom: 10px; -moz-transition: all 0.15s ease; -o-transition: all 0.15s ease; -webkit-transition: all 0.15s ease; transition: all 0.15s ease } .cs-footer-logo img { max-width: 180px } .footer .footer-qrimg { width: 80px; height: 80px; padding: 0; border: #f5f6f8 3px solid } .cs-footer-text { max-width: 523px; margin: 20px auto } .cs-moble-true, .cs-moble-false { padding-top: 30px; display: block } .footer-copyright { padding-top: 20px; /* border-top: 1px solid rgba(172, 172, 172, 0.1); */ font-size: 13px; text-align: center; color: #acacac } @media (min-width: 544px) { .copyright-links { text-align: right } .copy-text { text-align: center } } .copyright-links>li { display: inline-block } .copyright-links>li+li { margin-left: 12px } .copyright-links>li>a { color: #acacac; letter-spacing: 0.14px } @keyframes move { 0% { transform: translate(-175px, 0px) scale(1, 1) } 50% { transform: translate(-87px, 0px) scale(1, 0.5) } 100% { transform: translate(0px, 0px) scale(1, 1) } } </style> <style> .footer-cus { padding: 15px 20px; background: #fff; overflow: hidden; margin-bottom: 15px; } { .dingbulan { display: none; } } .dingbulan { width: 100%; text-align: center; font-size: 14px; font-weight: 400; color: #bbb6b6; line-height: 80px; letter-spacing: 0.8px; } .dingbulan h1 { font-size: 14px !important; display: inline; color: #bbb6b6; } .dingbulan span { padding: 5px 10px; background: #4387fd; border-radius: 5px; color: #ffffff; margin: 0 5px; } </style> <footer class="footer footer-cus" id="footer"> <div class="footer-copyright"> <div class="container9"> <div class="row9"> <div class="copy-text" style="text-align: center"> <a rel="nofollow" href="/dq" target="_blank"> <font style="color: #A9A9A9;">CMS大全</font> </a><i>|</i> <a href="/wz">CMS文章</a><i>|</i> <a href="/seozs">SEO知识</a><i>|</i> <a href="#">关于本站</a> </div> <div class="copy-text" style="text-align: center"> <p class="tex_cent">CopyRight©2024-2025 <a href="/" target="_blank">维亿CMS资源网</a> All Right Reserved   <img src="/class/newapptheme/static/images/beian.png" style="height:20px;vertical-align:middle;" /> <a href="https://beian.miit.gov.cn/#/Integrated/index" rel="nofollow" target="_blank">互联网ICP备案信息:渝ICP备2022000613号</a> </p> </div> <div class="copy-text" style="text-align: center"> 本站收集的信息若侵害到您的利益,请联系我们删除处理,侵权处理邮箱 123456@qq.com </div> </div> </div> </div> <div id="toolbar" class="toolbar "> <div id="totop" class="btn hidden br transition"><i class="iconfont icon-totop"></i></div> <div class="seting btn active transition"> <i class="layui-icon layui-icon-set-fill" id="openStylePick"></i> <div class="set-style" id="set-style"> <div class="plant"> <div class="layui-card"> <div class="layui-card-header">风格切换</div> <div class="layui-card-body"> <div class="layui-form"> <div class="layui-form-item"><label class="layui-form-label">暗夜模式</label><input type="checkbox" lay-filter="setstyle" name="style" lay-skin="switch" lay-text="关闭|开启"></div> </div> </div> </div> </div> </div> </div> </div> </footer> <script src="/class/newapptheme/static/js/layui.all.js"></script> <script src="/class/newapptheme/static/js/common.js"></script> <script src="/class/newapptheme/static/js/index.js"></script> <script> if (getCookie('setnight') == '') { layer.msg('夜深了,您可以打开护眼模式~'); setCookie("setnight", "1", "h12"); } </script> <script> // 添加水印方法 function TpWatermark(CON,H,W,R,C,S,O) { // 判断水印是否存在,如果存在,那么不执行 if (document.getElementById('tp-watermark') != null) { return } var TpLine = parseInt(document.body.clientWidth/W) * 2; // 一行显示几列 var StrLine = ''; for(var i = 0; i < TpLine; i++){ StrLine += '<span style="display: inline-block; line-height:' + H + 'px; width:' + W + 'px; text-align: center; transform:rotate(' + R + 'deg); color:' + C + '; font-size:'+ S + 'px; opacity:' + O + ';">'+ CON +'</span>' } var DivLine = document.createElement("div"); DivLine.innerHTML = StrLine; var TpColumn = parseInt(document.body.clientHeight/H) * 2; // 一列显示几行 var StrColumn = ''; for(var i = 0; i < TpColumn; i++){ StrColumn += '<div style="white-space: nowrap;">' + DivLine.innerHTML + '</div>'; } var DivLayer = document.createElement("div"); DivLayer.innerHTML = StrColumn; DivLayer.id = "tp-watermark"; // 给水印盒子添加类名 DivLayer.style.position = "fixed"; DivLayer.style.top = "10px"; // 整体水印距离顶部距离 DivLayer.style.left = "-100px"; // 改变整体水印的left值 DivLayer.style.zIndex = "99999"; // 水印页面层级 DivLayer.style.pointerEvents = "none"; document.body.appendChild(DivLayer); // 到页面中 } // 移除水印方法 function RemoveTpWatermark(){ // 判断水印是否存在,如果存在,那么执行 if (document.getElementById('tp-watermark') == null) { return } document.body.removeChild(document.getElementById('tp-watermark')); } // 执行添加 TpWatermark('维亿CMS资源网','200','400','-20','red','30','.15'); // TpWatermark(CON,H,W,R,C,S,O); // 值一一对应 // 执行移除 // RemoveTpWatermark(); // 参考文档 // http://sharedblog.cn/post/200.html </script> <script> if (document.getElementsByClassName("article-content").length > 0) { var newContent = document.getElementsByClassName("article-content")[0].innerHTML.replace( /<img [^>]*src=['"]([^'"]+)[^>]*>/gi, function(match, capture) { //capture,返回每个匹配的字符串 var newStr = '<a class="kuake" href="' + capture + '" target="_blank" data-fancybox="gallery"> <img src="' + capture + '" alt="" /></a>'; return newStr; }); document.getElementsByClassName("article-content")[0].innerHTML = newContent; } </script> </body> </html>