Code highlights logo


HTML Text Basics

HTML paragprahs

HTML paragraphs are an essential part of creating content on the web. If we just write text in a HTML document, without a HTML tag, it will just rendering as plain text. It's just going to keep going on one line.

To create a paragraph in HTML, you simply wrap your text content in the <p> opening and closing tags. For example, the following code creates a paragraph with the text "This is a paragraph":

1<p>This is a paragraph.</p>



Below the heading that says Top travel destinations, add an paragraph (<p>) with the text:

1With a world full of fascinating destinations, choosing the perfect vacation spot can present a challenge.

Sign up to start coding

Already have an account?

Sign In

Course content