purpose of using <p> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

purpose of using <p> tag

5th Nov 2016, 4:00 PM
rajasekar
rajasekar - avatar
18 Answers
+ 10
The <p></p> tags (starting <p> and ending </p> tag) will help you to emphasize paragraphs using HTML AND CSS and/or other scripting languages. Example: 1) HTML version: "<p color="blue">This text's color is blue.</p>" 2) CSS version: "p{ color:blue; }" All code is without the quote signs. I hope this helped.
5th Nov 2016, 11:45 PM
Veress Odon
Veress Odon - avatar
+ 9
This is generally used for defining a paragraph.
5th Nov 2016, 4:12 PM
Puspa R. Rijal
Puspa R. Rijal - avatar
+ 6
Here is an example <html> <head> <title> Test Paragraph</title> </head> <body> <h1>Terms of Use of Sololearn</h1> <p> This Agreement binds You or the Company you represent (“You,” “Your”, or “User”) to the Terms of Use set forth herein in connection with your use of SoloLearn, Inc.’s (“Our”, “We”, “Company” or “SoloLearn”) software, services or other offerings on our site (collectively, our “Products and Services”). By using any of the company products or clicking on the "Signup" button, you agree to become bound by the terms and conditions of this Agreement. If you disagree with these Terms of Use or any part of these Terms of Use, you must not use our website or the Company’s Products and Services. </p> </body> </html>
5th Nov 2016, 4:42 PM
Amine Karimi
Amine Karimi - avatar
+ 3
You can edit certain element of the text on the website while its in <p> tag. You can edit its style in CSS. And it gives code much cleaner
5th Nov 2016, 4:42 PM
Maksym Zieliński
Maksym Zieliński - avatar
+ 2
Paragraph ke liye hota hai bhai.
14th Feb 2019, 5:03 AM
KarmaGurus
KarmaGurus - avatar
+ 1
It's a HTML tag, which is used for defining a paragraph.
9th Nov 2016, 3:51 PM
Uthpal Saha
Uthpal Saha - avatar
+ 1
it is use to change the paragraph
15th Jun 2018, 7:00 AM
ADITYA KUSHWAHA
ADITYA KUSHWAHA - avatar
0
<P> is a html tag it means you can write paragraphs in your webpage. well basically it is very important tag in html
10th Nov 2016, 4:51 PM
Senpai Anubhav
Senpai Anubhav - avatar
0
it is for a paragrph
11th Nov 2016, 9:06 AM
betty
betty - avatar
0
for writing paragraph text
22nd Nov 2016, 1:10 PM
Sayed Ahmed Multiple Mind
Sayed Ahmed Multiple Mind - avatar
0
its use for paragraph.
27th Nov 2016, 6:22 AM
satyajit
satyajit - avatar
0
paragraph
5th Dec 2016, 10:14 AM
Rushikesh Chaudhari
Rushikesh Chaudhari - avatar
0
which can be use for peregraph
1st Jan 2017, 3:31 PM
Divyesh Kashiyani
Divyesh Kashiyani - avatar
0
if we give<p> tag it display the line followed by a tag as new paragraph, otherwise it display as same line
13th Jan 2017, 2:35 AM
Manohar Reddy
Manohar Reddy - avatar
0
for paragraph
30th Jan 2017, 5:17 PM
karuna
0
i prefer to use h3.. haha..
22nd Feb 2018, 5:54 AM
Kelvin Cipta Fathurrachman Putra
Kelvin Cipta Fathurrachman Putra - avatar
0
<p></p> is in html , we use {{ }} in php instead!
22nd Feb 2018, 4:35 PM
Amirhosein Morteza
Amirhosein Morteza - avatar
- 1
//
8th Dec 2016, 7:49 AM
loverboy bio
loverboy bio - avatar