I'm looking (for debugging purposes) for an example where text A appears before text B in HTML Code while B appears before A when being rendered in Browser.
An example that doesn't work:
<h1>A</h1>
<h1>B</h1>
Preferably 2 examples one using JS and one not using JS at all.
One try:
div.absolute {
position: absolute;
border: 3px solid #73AD21;
}
<div class="absolute">
This div element has position: absolute;
</div>
<p> test </p>