Search this site...

Creating a paragraph

In HTML, creating a paragraph is simple as entering text. To create a paragraph, move the cursor to the location where you want the paragraph in the HTML editor you are using. Next, type the <p> tag to begin the paragraph. (Yes, if you guessed, the "p" inside the <p> tag stands for paragraph.) Once you are done typing or pasting text for the paragraph, close the <p> tag with </p>. Closing the tag instructs the browser that the paragraph has ended.

As an example, we will create the following paragraph with the <p> tag:

To learn HTML and other web programming languages, come to ScriptingMaster.com regularly. The web site is updated daily with new content. The web site is succeeding because visitors like you keep coming back and find the site simple to use, easy to understand, and resourceful.

To create the above paragraph, you would write the following code:

<html>
<title>How To Create Paragraph</title>
<body>
<p>To learn HTML and other web programming languages, come to ScriptingMaster.com regularly. The web site is updated daily with new content. The web site is succeeding because visitors like you keep coming back and find the site simple to use, easy to understand, and resourceful.</p>
</body>
</html>

The output of the code shown above would look like:

Showing how a paragaph may look in a browser
Showing how a paragaph may look in a browser