Want a new VS Code theme?

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.