About Lesson
HTML Paragraphs are the basic building blocks of a web page.
They are created using the HTML <p> tag. Each paragraph is placed between an
opening <p> tag and a closing </p>
The text between the opening and closing tags will be displayed as a paragraph.
For example, the following HTML code will create a paragraph on a web page:
<p>This is a paragraph.</p>
Paragraphs can also contain other HTML elements, such as images, lists, and links.
For example, the following HTML code will create a paragraph that contains a link:
<p>This is a paragraph with a<a href=”https://digitaljanit.in”>link</a></p>
- When writing HTML, paragraphs should be written in a logical order.
- The first paragraph should introduce the topic of the page, while the following paragraphs should provide more
- Paragraphs are a great way to organize content on a web page. They can be used to separate sections of text, making it easier for readers to find what they are looking for.
Join the conversation