• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 1

Difference between <div> and <p> tag

htmltags<div><p>
1st Jul 2020, 7:33 PM
Daniel Fomsi
Daniel Fomsi - avatar
2 Respuestas
+ 10
I hope these sources prove useful! https://www.sololearn.com/Discuss/2325725/?ref=app  https://www.sololearn.com/Discuss/2318444/?ref=app https://www.sololearn.com/Discuss/2294000/?ref=app https://www.sololearn.com/Discuss/1895934/?ref=app https://www.sololearn.com/Discuss/2104423/?ref=app I found them using the search bar, which should also help if you have further questions regarding this topic. Happy coding!
1st Jul 2020, 7:45 PM
Uri Easter
Uri Easter - avatar
+ 3
Both are block elements. P elements have some margin and paddin by default, but div haven't.
1st Jul 2020, 7:56 PM
arieh

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes