DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Add style to the HTML document with JS
document.head.insertAdjacentHTML("beforeend", `<style>body{background:red}</style>`)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Add
#style
#HTML
#document
#JS
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit