<div> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

<div> tag

What is the use of <div> tag??

13th Jun 2018, 11:37 AM
Md Zabir Islam
Md Zabir Islam - avatar
1 Answer
It defines a section or a division in the document. Is also used as a container for other elements styled with CSS and used for certain tasks in JS. https://code.sololearn.com/W4U9thAV6GOj/?ref=app
13th Jun 2018, 11:56 AM
Alex M
Alex M - avatar