<p> - Paragraph Tag in HTML - HTML Tutorial

p paragraph tag in html

Paragraph tag in html

Definition of Paragraph tag:

  • Paragraph tag is used to display paragraph in the HTML document.
  • Browsers automatically add some blank space before and after a paragraph.
  • Paragraph tag is the block-level element.
  • <p> tag belongs to Flow content, phrasing content.
  • <p> tag supports Global Attributes and Event Attributes.

Syntax for <p> tag:

<p>This is My Paragraph </p>

Sample coding for <p> tag:

Tryit<!DOCTYPE html>
            Wikitechy paragraph tag 
        <h2>Wikitechy paragraph tag</h2> 
            Learn to Code in Wikitechy
            Teach people how different technologies are organized 
            Covers a Variety of topics.

Code Explanation for <p> tag:

Code Explanation for <p> tag

  1. <h2> tag is declare for the title of the paragraph content.
  2. First paragraph content is given within the <p> tag.
  3. Second paragraph content is mention within the <p> tag.

Output for <p> tag:

Output for <p> tag

  1. The output shows the heading of the Paragraph.
  2. Here the content of the paragraph is displayed in the output.

Browser Support for <p> tag:

Yes Yes Yes Yes Yes

Related Searches to <p> Paragraph tag in HTML

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.