+ 1
what is <p> in echo term for?the output is same though even after removing it
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
+ 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.
+ 1
Code:
Echo "<p>text</p>";
Result (HTML):
<p>text</p>
In browser:
text
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
0
<p> is a paragraph html tag </p>
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,....
0
The <p> tag defines a paragraph.
Browsers automatically add some space (margin) before and after each <p> element.
0
<p> is a paragraph tag
0
Papagraph