change html p to bold using javascript code example Example: javascript add text to bold tag TextBox.innerHTML = "Hello";