WordPress auto added “p” & “div” tag question

Solution:

This is beacause of wpautop() function which replaces double line-breaks with paragraph elements, to disable it, add this to your functions.php file:

remove_filter( 'the_content', 'wpautop' );