A beginner-friendly look at HTML div and span elements, explaining what they are and how they work. It is part of a series for people who have never written HTML or CSS before.
What you’ll learn
✓Explain what a div element is and when to use it
✓Explain what a span element is and how it differs from a div