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.
February 20, 2020
February 19, 2020
February 18, 2020