When an HTML content is placed in nested block elements, it is displayed differently from the way the browser displays it.
For example, the following HTML:
<div><p>htmlTextBox1</p></div>
is vertically displaced compared to the same content when not wrapped in another block element:
<p>htmlTextBox1</p>
This image demonstrates the difference.