To change the paragraphs from block to inline, code the display property.
block
inline
display
Make sure to type display.