0
How to change font color in document.write
2 ответов
+ 6
document.write("<span style='color: red'>Changed</span>");
+ 2
I have not tried this, but if you change the root element style that should affect the style of the text that document.write displays.