hi everyone i'm new here i have found this forum while searching for information and i like it very much!

my question might be a little silly. i have read in tutorial sites that the <div> element as a block element inserts a line break before AND after itself, but running the code i only see the line break after the element. the same doesnt happen in the <p> element, which is a block element too. so why does div behave like this? did they change the behavior recently maybe?

thank you