document.createTextNode("#HTML1 {background:red;}")
"#HTML1 {background:red;}"
sty.appendChild(document.createTextNode("#HTML1 {background:red;}"))
#HTML1 {background:red;}
document.head.appendChild(sty)
var sty = document.createElement('style');
undefined
sty.type = "text/css"
"text/css"
sty.rel = "stylesheet"
"stylesheet"
sty.appendChild(document.createTextNode("#te {background:red;}"))
#te {background:red;}
document.head.appendChild(sty)
<style type="text/css">#te {background:red;}</style>
dibuat:1457681135954
Komentar
Posting Komentar
Komentar ...