Dear earlxph8, if you know how to use html this will be very easy for you.
In html file you directly write <p>Sample test</p>
however in PHP, you have to echo the html: <?php echo "<p>Sample test</p>";?>
When you echo a string, it will be treated as a html text, so all html tags will work when echoed.
What is even more important is that you can edit the style of the tags exactly like you do in html, taking the same example: