HTML Paragraph Elements

📄 Introduction to the HTML Paragraph Element (<p>)






🔹 What is the Paragraph Element?

The paragraph element is written using the <p> and </p> tags.
Example:

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

Everything between the opening and closing tags is treated as a paragraph.


🔹 Why Use Paragraph Tags?

Without paragraph tags, plain text in an HTML file appears as one continuous line. This makes the content hard to read and understand. Using <p> tags:

  • Separates content into distinct paragraphs

  • Adds space between blocks of text

  • Improves readability

  • Helps screen readers (used by visually impaired users) navigate content more effectively

Comments