What is the use of <div class=""> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the use of <div class="">

I not want links

8th Apr 2020, 4:20 PM
********* ****
********* **** - avatar
1 Answer
+ 2
div is an HTML element that groups other elements of the page together.class is an attribute. All HTMLelements can carry a class attribute. If your elements have a class attribute then you will be able to write a CSS rule to select that class.
8th Apr 2020, 4:22 PM
Ayush Kumar
Ayush Kumar - avatar