...
Code Block | ||
---|---|---|
| ||
document.body = document.createElement('body'); // This creates a new body element |
We still have the head element with any styling that is present. You can see this by putting in some simple markup:
...
...
Code Block | ||
---|---|---|
| ||
document.body = document.createElement('body'); // This creates a new body element |
We still have the head element with any styling that is present. You can see this by putting in some simple markup:
...