0

what exactly is the purpose of div element

13th Dec 2016, 12:06 PM
Lakshmi Sahithi.Bhuvanagiri
1 Odpowiedź
0
<div> represents a section of a HTML5 page. It is block element and is used as a main building block for HTML page. That is why is it used so often - together with CSS is used for styling just as <span> is basic (and de facto meaningless) in-line element.
13th Dec 2016, 12:18 PM
Ondřej Doněk
Ondřej Doněk - avatar