小编AJH*_*AJH的帖子

我可以迭代ap标签并更改为ul吗?

我正在尝试创建一个脚本,该脚本遍历带有几个文本句子的段落,并在每个句子的开头和结尾插入一个li标签.这可能吗?

所以,转过这一段

<p>
   Give your work the edge with this pencil. Awesome design, and chunky gold finish. Get the look. 
</p>
Run Code Online (Sandbox Code Playgroud)

进入这个无序列表

<p>
  <ul>
    <li>
      Give your work the edge with this pencil.
    </li> 
    <li>
      Awesome design, and chunky gold finish. 
    </li>
    <li>
      Get the look. 
    </li>
  </ul>
</p>
Run Code Online (Sandbox Code Playgroud)

html javascript jquery

2
推荐指数
1
解决办法
120
查看次数

标签 统计

html ×1

javascript ×1

jquery ×1