What does the
tag do?

  • Creates a box with a black border/outline
  • Divides a page visually into columns
  • Creates a horizontal rule
  • Creates an invisible box that can be styled with CSS


The <div> element (or division element) is a generic, non-semantic, container or box used to group elements for styling purposes.

Share on:
Online Certification Guide

About Author

Hey there, its OnlineCertificationGuide here to help you out in your Journey in the study. So my friend share the site with your friends in case I am helpful to you.