题解 | #表单类型#
加粗文字
http://www.nowcoder.com/practice/919c502e497f4c53a3f7c336beec7cb4
const p = document.querySelector('p')
p.innerHTML = p.innerText.replace("牛客网", '<Strong>牛客网</Strong>')
加粗文字
http://www.nowcoder.com/practice/919c502e497f4c53a3f7c336beec7cb4
const p = document.querySelector('p')
p.innerHTML = p.innerText.replace("牛客网", '<Strong>牛客网</Strong>')
相关推荐