• 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
Why is the code playground text keep popping up?
1 Votes
warning on overloading new operator for class
0 Votes
Code issue
0 Votes
For loops and multidimensional arrays
0 Votes
Python libraries that can be used in SL
0 Votes
Python installation
2 Votes
How can we secure web content from screenshots on mobile browsers?
0 Votes
Merge and MergeSort algorithms
0 Votes
JavaScript is to complex
0 Votes
What do you think of my code?
0 Votes