• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 4
Both will create a new box. Div is a new line tag. Therefore div tags will create a new line. https://www.w3schools.com/Tags/tag_div.asp Span is a inline tag. Therefore span tags will not create a new line https://www.w3schools.com/Tags/tag_span.asp
4th Jan 2019, 6:34 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Would you like to slove Minimum Size Subarray Sum with me?
0 Votes
I love this i am having so much fun thank you sololearn
7 Votes
How do I learn (really anything) to program?
1 Votes
Connection
3 Votes
EoF error in my code : Help , how to solve it
0 Votes
Running a Program Programatically
1 Votes
what is the difference????
1 Votes
How do I clear a file using Python ?
0 Votes
How do i make this?
0 Votes
Zooming out for some reason
1 Votes