What do <div> and <span> stand for?

May 23, 2018

We call it <div> because it is a document division – in other words, a section – of an HTML document. It is defined as such in the HTML 3.2 Reference Specification.

<span> derives its names from its purpose: it quite literally spans the width of the elements it contains. The more you know.

I'm sharing everything I learn while building a software company. Join my newsletter to receive advice and opportunities that I never post publicly. Or learn more about me?