为了账号安全,请及时绑定邮箱和手机立即绑定

HTML中,如何去掉某个元素下的一些特殊标签?

HTML中,如何去掉某个元素下的一些特殊标签?

慕勒3428872 2019-02-25 13:12:59
如题,我们有一个Node元素的innerHTML是这样的:<div>These vignettes illustrate different consequences of scarcity capturing attention. In the previous chapter, we saw how tunneling distorts the trade-offs we make. Trying to focus on making <text>ends</text> meet right now, we fail to consider the impact in the future of raising the insurance deductible. In the vignettes above, in contrast, we catch people as they are trying to focus on something unrelated to their immediate scarcity. We catch the harried executive not when she is <text>putting</text> together her sales pitch but when she is a parent. We catch the student not when he is dealing with making ends meet but when he is trying to focus on his exam. </div>其中,有两个<text></text>标签,请问有什么方法可以低成本的去掉他们?多谢
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 661 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信