.


Divya

HTML Paragraph Tutorial with Example


HTML <p> tag is used to write paragraph.

Example:

<!DOCTYPE html>
<html>
<body>
<p>This is my first paragraph.</p>
</body>
</html>

Run it yourself

HTML <pre> Tag

HTML <pre> tag is used to specify pre formatted texts.

<!DOCTYPE html>
<html>
<body>
<p>The pre tag preserves both spaces and line breaks:</p>
<pre>
Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. Using HTML you can create your own website. </pre>
</body>
</html>

Run it yourself



.