What is div tag. and why we use it . is it necessary for the site.
What is div tag. and why we use it . is it necessary for the site.
Div tag is used for defining section in the HTML document which will help to group different section of elements together. We are using it because of following beneficial reasons :
- Faster loading website
- Search engine friendly
- Takes less bandwidth
- Have clean code
SPINX - A DIGITAL AGENCY : Leading Web Development Company in Los Angeles with a vision to provide high quality web development solutions.
Hope you have got what it means, the OP.
█ Offshore Hosting & Guaranteed DDoS Protection in Netherlands
█ Dedicated Servers & Shared Web Hosting | Daily Backups | 99.9% Uptime | Fast setup & response time
█ koddos.com
Why do we need to define section in the HTML document? And how does this div tag helps to load websites faster.
Div tag is used to get some certain benefits which make the site more search engine friendly. Generally div tags are used where other HTML elements can not describe parts of a document semantically.
in HTML the span and div elements are used where parts of document cannot be semantically described by the other HTML elements....
Bookmarks