That is expected. The default formatting in a p tag is to insert a line break. That, among many other details are taught in my book and my courses:
https://school.studioweb.com/store/#courses
Stef
Couple of broad suggestions:
Study the box model a little more. My book Web Design Start Here, breaks that down. Or just rebuild it using CSS Grid and Flexbox ... which are much easier to work with.
Stef
SEO requires you learn the basics of web design ... you have to understand the code and the process of building a site. Check out my courses:
https://school.studioweb.com/store/course/complete_web_designer
Stef
Just create a copy of the file, and delete the code so you can start from scratch. Yes my courses start off very easy and are for beginners because they target beginners.
S