I want to display two p tags in same line, one left and one right as below :
<p >This is a paragraph.</p>
<p style="text-align : right">This is a paragraph.</p>
In the CSS, I am doing below :
p {display: inline-block;}
But this is not giving me the desired output. Instead its showing both the sentences together like below :
This is a paragraph. This is a paragraph.