If i insert two closed empty div , i get one nested in another after render.
Source:
<html>
<head></head>
<body>
<div id="up"/>
<div id="prop"/>
</body>
</html>
Render:
<html>
<head></head>
<body>
<div id="up">
<div id="prop"></div>
</div>
</body>
</html>
But when i insert first block as opening and closing tag, this is not happen:
Source:
<html>
<head></head>
<body>
<div id="up"> </div>
<div id="prop"/>
</body>
</html>
Render:
<html>
<head></head>
<body>
<div id="up"></div>
<div id="prop"></div>
</body>
</html>
Why this happen?