HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications Paragraph Tags

Nick Evershed
Nick Evershed
5,535 Points

Not adding <p> tags but still getting a space?

<p>I’m an aspiring web designer who loves everything about the web. I've lived in lots of different places and have worked in lots of different jobs. I’m excited to bring my life experience to the process of building fantastic looking websites.</p> <p>I’ve been a professional cook and gardener and am a life-long learner who's always interested in expanding my skills.</p> This is a third paragraph.

jamesjones21
jamesjones21
8,976 Points

Hi Nick, can you share your whole html ?

2 Answers

Ra'fat Ahmad
Ra'fat Ahmad
Front End Web Development Techdegree Student 5,898 Points

of course, you will get space, cause the p tag has a default bottom margin.

Use inspect element in chroom devtool to see that, in userAgent style or browser style.

Joseph Alejandro
Joseph Alejandro
1,427 Points

Hi Nick, did you save the index.html file in the workspace and then refreshed the preview site?