mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
18 lines
340 B
HTML
18 lines
340 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function doit()
|
||
|
{
|
||
|
var span = document.getElementById("span");
|
||
|
var div = span.parentNode;
|
||
|
div.removeChild(span);
|
||
|
div.appendChild(span);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="doit();">
|
||
|
<div id="div">
|
||
|
<span id="span">here is a span <div style="display:block;">with a block</div> in it</span>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|