HTML PARAGRAPHS
HTML Paragraphs: Formatting Your Text
What are HTML Paragraphs?
In HTML, paragraphs are created using the <p> tag. This tag defines blocks of text that are separated by spaces above and below, making your content easier to read and visually appealing.
Using the <p> Tag
The <p> tag is used to enclose text that forms a paragraph. When you use this tag, the browser automatically adds some space above and below the paragraph for better readability.
Example: HTML Paragraphs
Here’s an example of using the <p> tag in HTML:
                <!DOCTYPE html>
                <html lang="en">
                <head>
                <meta charset="UTF-8">
                <title>HTML Paragraphs Example</title>
                </head>
                <body>
                <p>This is the first paragraph of text.</p>
                <p>This is the second paragraph, which is separated from the first by some space.</p>
                </body>
                </html>
            
         
No comments