+ 1

what is <p> in echo term for?the output is same though even after removing it

6th Sep 2016, 5:44 PM
Amit Bhawar
Amit Bhawar - avatar
9 Réponses
+ 4
<p> This is the first paragraph </p> <p> This is the second paragraph </p> will output: This is the first paragraph This is the second paragraph although you didn't set breaks because well they are paragraphs. Especially useful when you have longer paragraphs
7th Sep 2016, 1:47 PM
blabliblub
+ 2
The ourput would be the same with or wirthout <p> tags. This is due to the web broswer automatically interpreting text as <p> however it is good practice always declare what the text is.
6th Sep 2016, 10:12 PM
Ryan smith
Ryan smith  - avatar
+ 1
Code: Echo "<p>text</p>"; Result (HTML): <p>text</p> In browser: text
6th Sep 2016, 8:44 PM
Илья Парфёнов
Илья Парфёнов - avatar
0
<p> is a tag and used to define paragraph.. yes you can work without this also but it could be a prob for future for you
7th Sep 2016, 10:52 AM
Rishabh Sharma
Rishabh Sharma - avatar
0
<p> is a paragraph html tag </p>
7th Sep 2016, 5:17 PM
Stanley Siousias
Stanley Siousias - avatar
0
with HTML, PHP, Sql and CSS, you can configurate a contact form / login form, with auto answers, custom tour login, conected with a databases in the exercise use <p> tag, but you can use more html tags as div, h1, tables, images,....
7th Sep 2016, 10:35 PM
Miguel Vargas González
Miguel Vargas González - avatar
0
The <p> tag defines a paragraph. Browsers automatically add some space (margin) before and after each <p> element.
8th Sep 2016, 4:16 AM
Nishant Chhatriyan
Nishant Chhatriyan - avatar
0
<p> is a paragraph tag
11th Sep 2016, 3:04 PM
Dakota Johnson
Dakota Johnson - avatar
0
Papagraph
11th Dec 2016, 10:14 AM
Samardeep