DIV vs SPAN
When coding block elements in HTML, there are two different tags. So how do you determine which one? Read on to find out.
In HTML, the <div> tag indicates a block-level element. Think of this as a brick wall where all the bricks are stacked directly on top of each other.
The <span> tag indicates an inline element. This is like one vertical row of a brick wall where each brick is next to the other.
Want your own HTML website? Contact us today.
July 27, 2021
April 8, 2021