question about the line breaks of the <div> element
hi everyone :confused: i'm new here :eek: 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?