How to fix this. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to fix this.

<html> <p> Hi there, im here. </p> <p> Im still here <br /> just so you know </p> <ol> <li> This is one. </li> <li> This is two. </li> <li> This is three. </li> </ol> <ul> <li> This is one again. </li> <li> This is two again. </li> <li> This is three again. </li> </ul> <p> Im going to do this again </p> <p> Here we go <br /> I hope this works. </p> <ul> <li> Im also going to do this again </li> <li> I hope this works </li> </ul> <p align="center"> Hi. </p> <P align="left"> Hi. </P> <p align="right"> Hi. <p><b> I hope this works. </b></p> <p><i> I hope this <br />one works to. </i></p> <i>Lets try</i><p>This now</p> On the last line with the <i> and <p> in the same area, I want it to be on the same line, but when I run it, the "Lets try" and "This now" are on different lines, please tell me if you know how to fix this, thanks.

6th Dec 2016, 1:49 AM
2skywalkers
2 Answers
0
The paragraph tag <p> is used to start a new paragraph, therefore, the content will be on a different line. Use some other tags like <span> or change the properties of that particular paragraph tag through CSS.
6th Dec 2016, 1:53 AM
Nikunj Arora
Nikunj Arora - avatar
0
Ok thanks.
6th Dec 2016, 2:16 AM
2skywalkers