HTML div tag is used inside webpages to show divisions among content.

The div is considered as a container inside web pages. These containers are the divided sections to show contents.


Syntax

HTML div tag specifies the large blocks of content while span tag specifies the small block of content.

Output

This is div content

You should also read:


Resources and References HTML div tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github

Leave a Reply

Your email address will not be published. Required fields are marked *