You need to declare the document type with <!DOCTYPE html>
at the top of your code, and then you need an opening <html>
tage, without it, the browser just reads it as jibberish.
Correct code
<!DOCTYPE html>
<html>
<body>
<p>This is my first paragraph</p>
<p>This is my second paragraph</p>
</body>
</html>