Sandbox: Difference between revisions
From Hidden Mickey Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<htmltag tagname="script" type="text/javascript"> | <htmltag tagname="script" type="text/javascript"> | ||
document.body.insertAdjacentHTML( | |||
'beforeend', | |||
document.body.insertAdjacentHTML('beforeend', '<p style="color: red; font-weight: bold;">Hello World from JS!</p>'); | '<p style="color: red; font-weight: bold; font-size: 16px;">Hello World from JS!</p>' | ||
); | |||
</htmltag> | </htmltag> | ||
Revision as of 10:21, 1 October 2025