logo CBCE Skill INDIA

Welcome to CBCE Skill INDIA. An ISO 9001:2015 Certified Autonomous Body | Best Quality Computer and Skills Training Provider Organization. Established Under Indian Trust Act 1882, Govt. of India. Identity No. - IV-190200628, and registered under NITI Aayog Govt. of India. Identity No. - WB/2023/0344555. Also registered under Ministry of Micro, Small & Medium Enterprises - MSME (Govt. of India). Registration Number - UDYAM-WB-06-0031863

HTML Paragraph!


HTML Paragraph

In HTML, paragraphs are created using the <p> element. The <p> element is used to define a block of text as a paragraph, and browsers automatically add vertical spacing before and after each paragraph to separate them visually.

Here's an example of using the `<p>` element to create paragraphs:

<!DOCTYPE html>
<html>
<head>
    <title>HTML Paragraph Example</title>
</head>
<body>
    <h1>Welcome to My Website</h1>
    <p>This is the first paragraph. It contains some text to demonstrate
            the usage of the <code>&lt;p&gt;</code> element in HTML.
             Paragraphs are used to separate blocks of text and make the
             content more readable.</p>

    <p>
           This is the second paragraph. You can add as many paragraphs
           as needed in your HTML document. Each paragraph will be
           displayed as a separate block of text.
     </p>

    <p>
            This is the third paragraph. Paragraphs can contain any text,
            including formatting like <strong>bold</strong> and
            <em>italic</em> text, as well as links like
            <a href="https://www.example.com">Example Website</a>.
      </p>
</body>
</html>


In this example, we have three paragraphs. Each paragraph is created using the <p> element and contains some text. The content of the paragraphs can include plain text, as well as other HTML elements such as headings, links, lists, and more. The browser will automatically render each paragraph as separate blocks of text with spacing between them.

Thank You.

Popular Post:

Give us your feedback!

Your email address will not be published. Required fields are marked *
0 Comments Write Comment