There's a margin between the paragraphs. To get rid of it, you'll need to set the margin via CSS:
p {
margin: 0;
}
To get "Hi" and "Bye" on the same line, you'd either change the display
of p
elements, or change the markup:
p {
display: inline;
//or
display: inline-block;
}
change markup:
<p>Hi Bye</p>