const p = document.querySelector('p') p.innerHTML = p.innerText.replace("牛客网", '<Strong>牛客网</Strong>')