css div tag code example Example 1: what is div in html <div> <!-- This is opening of a division tag--> </div> Example 2: html div tag <div></div>