Problem Statement
Which tag is used to define a paragraph in HTML?
Explanation
The p tag is used to define a paragraph in HTML. Paragraphs are block-level elements, which means they automatically start on a new line and take up the full width available. Browsers automatically add some space, called margin, before and after each paragraph to separate them visually. The p tag should contain text content and inline elements like links or emphasis tags. You should not put block-level elements like divs or other paragraphs inside a p tag. Paragraphs are one of the most commonly used HTML elements for organizing text content on web pages.
Code Solution
SolutionRead Only
<p>This is a paragraph of text.</p> <p>This is another paragraph.</p> <p>Each paragraph is separated automatically.</p>
