If both the margin and padding of the p tag are 0 at the top and bottom, the empty p tag will have no height. If you want to create a blank line with only p tags, you may want to give height to p tags that are empty.
Have a min-height for one character.
The default browser for the p tag is margin: 1em 0 1em 0 ;, but I wanted to set all margin and padding values to 0, and then I wanted to create a blank line with the p tag, but this is the state. Then, the height of the p tag became 0, and it did not become a blank line.
With the above method, it was solved by giving at least one character height only when there are no characters at all.