Inline in the HTML (without using a separate javascript file or code block) how to change display of element on page load? I want it to go from display:none back to default.
I've tried this:
<div style="display:none" onload="function(){this.style.display = 'block'}">
hello
</div>
And this:
<div style="display:none" onload="this.style.display = ''">
hello
</div>
But doesn't work, thanks.