Is it compulsory to use only P while creating tags <p> if yes . Why can't any other letter if no whats the difference ... | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Is it compulsory to use only P while creating tags <p> if yes . Why can't any other letter if no whats the difference ...

Tags

6th Sep 2019, 7:17 AM
Manem Yaswant
2 Respostas
+ 6
The p tag defines a 'paragraph' p tag is a block level element, means it will starts from a new line And every tag has different properties Some examples: a tag also called anchor tag Which used to create links Like this <a href="(url of the website)">Click here</a> The colour of "Click here" will be blue And if you click the text, you will go to the link address goes b tag makes a text in bold font Like this <b>This text is bold</b> i tag makes this text italic Like this <i>This text is italic</i>
6th Sep 2019, 8:17 AM
Farhan
Farhan - avatar
+ 1
Thank you
6th Sep 2019, 8:47 AM
Manem Yaswant